Skip to content

appcubator/sysadmin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Appcubator-sysadmin

  1. Configures nginx sites
  2. Configures uwsgi upstart scripts

Allows you to do:

sudo service [ nginx | uwsgi-site | uwsgi-deploy | uwsgi-hosting ]
[ start | stop | restart | reload ]

Usage

sudo APPCUBATOR_MODE=staging python setup_stuff.py

Then run the following in /var/www/appcubator-sysadmin:

mkdir logs
mkdir sockets
mkdir pidfiles
sudo chgrp www-data logs
sudo chgrp www-data sockets
sudo chgrp www-data pidfiles
sudo chmod g+rwx logs
sudo chmod g+rwx sockets
sudo chmod g+rwx pidfiles

Releases

No releases published

Packages

No packages published