Closed dongyuzheng closed 8 years ago
restart.sh now uses collectstatic properly and copies the files to (below)
Please make it point to - /var/www/emerjhack.com/static
Note: You still need to perform - git pull origin dev - before running restart.sh
I tried doing this myself but couldn't find the Nginx config you were using ...
Modified your script slightly, also temporarily reset MEDIA_ROOT in settings.py (previous value is invalid), configured nginx.
restart.sh now uses collectstatic properly and copies the files to (below)
Please make it point to - /var/www/emerjhack.com/static
Note: You still need to perform - git pull origin dev - before running restart.sh
I tried doing this myself but couldn't find the Nginx config you were using ...