Permalink
Browse files

Merge pull request #2 from dotcloud/master

Pull static files out of ~/data/
  • Loading branch information...
2 parents a971946 + 78d9f1a commit 9a9aad2c27bb47c9b441f46611fe14052b7cd018 @jpetazzo committed Feb 24, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 hellodjango/settings.py
  2. +1 −1 nginx.conf
  3. +1 −1 postinstall
View
@@ -60,7 +60,7 @@
# Don't put anything in this directory yourself; store your static files
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
# Example: "/home/media/media.lawrence.com/static/"
-STATIC_ROOT = '/home/dotcloud/data/static/'
+STATIC_ROOT = '/home/dotcloud/volatile/static/'
# URL prefix for static files.
# Example: "http://media.lawrence.com/static/"
View
@@ -1,3 +1,3 @@
location /media/ { root /home/dotcloud/data ; }
-location /static/ { root /home/dotcloud/data ; }
+location /static/ { root /home/dotcloud/volatile ; }
View
@@ -1,5 +1,5 @@
#!/bin/sh
python hellodjango/manage.py syncdb --noinput
python mkadmin.py
-mkdir -p /home/dotcloud/data/media /home/dotcloud/data/static
+mkdir -p /home/dotcloud/data/media /home/dotcloud/volatile/static
python hellodjango/manage.py collectstatic --noinput

0 comments on commit 9a9aad2

Please sign in to comment.