Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

Commit

Permalink
Finished settings. Started working on the setup_permissions part of t…
Browse files Browse the repository at this point in the history
…he bundle.
  • Loading branch information
jcsackett committed Jun 9, 2009
1 parent b69cf23 commit 55b10be
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
6 changes: 6 additions & 0 deletions scripts/setup_permissions.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
chmod -R 775 /home/websites/fab/
chmod -R 775 /home/websites/lighttpd/fab/
chown -R www-data:www-data /home/websites/lighttpd/fab/
chown -R www-data:www-data /var/log/lighttpd/fab/
chown -R www-data:www-data /home/websites/fab/
chown -R www-data:www-data /home/websites/fab/logs/apache
19 changes: 18 additions & 1 deletion settings.py.tmpl
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
PROJECT_NAME = ''
PROJECT_HOME = ''
CODE_HOME = ''

REPO = ''

DIRECTORIES = (
'/home/websites/',
'/home/websites/lighttpd/',
'/home/websites/lighttpd/%s/' % PROJECT_NAME,
'/home/websites/lighttpd/%s/site_media/' % PROJECT_NAME,
'/home/websites/lighttpd/%s/lighttpdcache/ % PROJECT_NAME',
'/home/websites/%s/' % PROJECT_NAME,
'/home/websites/%s/logs/' % PROJECT_NAME,
'/home/websites/%s/logs/apache/' % PROJECT_NAME,
'/var/log/lighttpd/%s/' % PROJECT_NAME,
)

LIGHTTPD_USER = ('', '', '') #(STAGING, INTERNAL, PRODUCTION)
APACHE_USER = ('', '', '') #(STAGING, INTERNAL, PRODUCTION)

Expand All @@ -12,5 +25,9 @@ MYSQL_PASSWORD = ('', '', '')
SERVER = ('', '', '')
USER = ('', '', '')
LIGHTTPD_PORTS = ('', '', '')
SUBDOMAIN - ('', '', '')
SUBDOMAIN = ('', '', '')
APACHE_PORTS = ('', '', '')

OWNER = ('', '', '')
GROUP = ('', '', '')

0 comments on commit 55b10be

Please sign in to comment.