mirror of
https://github.com/wahyd4/crawlab.git
synced 2026-08-26 05:26:28 +10:00
10 lines
202 B
Bash
Executable File
10 lines
202 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# replace default api path to new one
|
|
jspath=`ls /app/dist/js/app.*.js`
|
|
cat ${jspath} | sed "s/localhost:8000/${CRAWLAB_API_ADDRESS}/g" > ${jspath}
|
|
|
|
# start nginx
|
|
service nginx start
|
|
|
|
crawlab |