Files
crawlab/docker_init.sh
2019-06-11 00:26:42 +08:00

7 lines
206 B
Bash
Executable File

#!/bin/sh
cd /opt/crawlab/frontend \
&& npm run build:prod \
&& mongod --fork --logpath /var/log/mongod.log \
&& service nginx reload \
&& service redis-server start \
&& python3 $WORK_DIR/manage.py $*