2022-09-24 04:26:44 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-08-14 02:46:01 +00:00
|
|
|
cd /rDrama
|
2022-09-24 04:26:44 +00:00
|
|
|
|
2022-08-14 02:46:01 +00:00
|
|
|
. /env
|
2022-09-24 04:26:44 +00:00
|
|
|
PATH="${NVM_DIR}/versions/node/v${NODE_VERSION}/bin/:${PATH}"
|
|
|
|
|
|
|
|
cd ./chat
|
|
|
|
yarn install
|
|
|
|
yarn chat
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
gunicorn files.__main__:app load_chat -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 1 -b 0.0.0.0:5001 --max-requests 30000 --max-requests-jitter 30000
|