emerjhack / website

0 stars 0 forks source link

Change Nginx static directory #19

Closed dongyuzheng closed 8 years ago

dongyuzheng commented 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 ...

dongyuzheng commented 8 years ago
jyang0 commented 8 years ago

Modified your script slightly, also temporarily reset MEDIA_ROOT in settings.py (previous value is invalid), configured nginx.