forked from M-Labs/it-infra
14 lines
452 B
Bash
14 lines
452 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
export FLASK_DEBUG=0
|
||
|
export FLASK_MAIL_SERVER=mail.m-labs.hk
|
||
|
export FLASK_MAIL_PORT=465
|
||
|
export FLASK_MAIL_USE_SSL=True
|
||
|
export FLASK_MAIL_USERNAME=sysop-intl@m-labs-intl.com
|
||
|
export FLASK_MAIL_PASSWORD_FILE=/home/rfqserver/mail.secret
|
||
|
export FLASK_MAIL_RECIPIENT=sales@m-labs.hk
|
||
|
export FLASK_MAIL_SENDER=sysop-intl@m-labs-intl.com
|
||
|
|
||
|
cd /home/rfqserver/web2019/server
|
||
|
source venv/bin/activate
|
||
|
python3 -m flask --app rfq run --port=5000
|