Commit 250c1edb authored by Jomaro Rodrigues's avatar Jomaro Rodrigues
Browse files

gera static na pasta certa e upload pra pasta final

parent 446d0eed
......@@ -3,8 +3,6 @@
(cd src; python manage.py collectstatic)
mv src/static .
if ! sudo -u postgres psql adega
then
......@@ -14,7 +12,6 @@ fi
python manage.py migrate
sudo -u postgres psql < postgres/harden.sql
......@@ -156,10 +156,10 @@ if not DEBUG:
else:
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATIC_ROOT = os.path.join(PROJECT_DIR, 'static')
MEDIA_URL = '/script/base/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'script/base')
MEDIA_ROOT = os.path.join(PROJECT_DIR, 'uploads')
# MEDIA_URL = None # a gente não quer ninguem fazendo download disso
# MEDIA_ROOT = os.path.join(PROJECT_DIR, 'uploads')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment