Created
May 20, 2020 18:53
-
-
Save thomasmckay/432ae6bf3822d48c83e47a2b45617f5a to your computer and use it in GitHub Desktop.
quay pydevd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NOTE: quay-devel | |
cd /quay-registry | |
supervisorctl -c /quay-registry/conf/supervisord.conf stop gunicorn-web | |
supervisorctl -c /quay-registry/conf/supervisord.conf stop repomirrorworker | |
mv static static.bak | |
ln -s /home/thomasmckay/code/quay-devel/static | |
cd /home/thomasmckay/code/quay-devel | |
mkdir -p static/webfonts | |
mkdir -p static/fonts | |
mkdir -p static/ldn | |
PYTHONPATH=. python -m external_libraries | |
rm -Rf config_app/static/ldn | |
cp -r static/ldn config_app/static/ldn | |
rm -Rf config_app/static/fonts | |
cp -r static/fonts config_app/static/fonts | |
rm -Rf config_app/static/webfonts | |
cp -r static/webfonts config_app/static/webfonts | |
pip install pydevd | |
yarn build | |
yarn build-config-app | |
yarn build && npm run watch | |
PYDEV_DEBUG=192.168.1.4:2345 PYTHONPATH=. gunicorn -c conf/gunicorn_devel.py web:application | |
PYDEV_DEBUG=192.168.1.4:1234 PYTHONPATH=. python -m workers.repomirrorworker.repomirrorworker | |
# The static assets, if not already in mounted | |
mkdir -p static/webfonts | |
mkdir -p static/fonts | |
mkdir -p static/ldn | |
PYTHONPATH=. python -m external_libraries | |
# Build assets and run UI | |
yarn build | |
npm run watch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment