Module Assign NameStore ListLoad Dict Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str ListLoad Str Str Str Str Str Str Str Str Str Str Str Dict Str Str Str Str ListLoad Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Dict Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Dict Str Str Str Str Dict Str Str Str Str Str Str Dict Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str Dict Str Str Str Str
N/A N/A recipe N/A N/A action params run whoami N/A action params message sudo apt-get update -qq Updating apt-get N/A action params message apt N/A mysql-client libmysqlclient-dev nginx memcached git python-setuptools python-dev build-essential python-pip python-mysqldb Installing apt-get packages N/A action params message pip N/A virtualenv virtualenvwrapper supervisor Installing pip packages N/A action params message put N/A file destination %(FABULOUS_PATH)s/templates/nginx.conf /home/%(SERVER_USERNAME)s/nginx.conf Configuring nginx N/A action params sudo mv /etc/nginx/nginx.conf /etc/nginx/nginx.conf.old N/A action params sudo mv /home/%(SERVER_USERNAME)s/nginx.conf /etc/nginx/nginx.conf N/A action params sudo chown root:root /etc/nginx/nginx.conf N/A action params put_template N/A template destination %(FABULOUS_PATH)s/templates/nginx-app-proxy /home/%(SERVER_USERNAME)s/%(PROJECT_NAME)s N/A action params sudo rm -rf /etc/nginx/sites-enabled/default N/A action params sudo mv /home/%(SERVER_USERNAME)s/%(PROJECT_NAME)s /etc/nginx/sites-available/%(PROJECT_NAME)s N/A action params sudo ln -s /etc/nginx/sites-available/%(PROJECT_NAME)s /etc/nginx/sites-enabled/%(PROJECT_NAME)s N/A action params sudo chown root:root /etc/nginx/sites-available/%(PROJECT_NAME)s N/A action params message sudo /etc/init.d/nginx restart Restarting nginx N/A action params message sudo mkdir %(VIRTUALENV_DIR)s Configuring virtualenvwrapper N/A action params sudo chown -R %(SERVER_USERNAME)s: %(VIRTUALENV_DIR)s N/A action params run echo 'export WORKON_HOME=%(VIRTUALENV_DIR)s' >> /home/%(SERVER_USERNAME)s/.profile N/A action params run echo 'source /usr/local/bin/virtualenvwrapper.sh' >> /home/%(SERVER_USERNAME)s/.profile N/A action params run source /home/%(SERVER_USERNAME)s/.profile N/A action params message run echo "alias webapps='cd %(APPS_DIR)s'" >> /home/%(SERVER_USERNAME)s/.profile Creating webapps alias N/A action params message sudo mkdir %(APPS_DIR)s Creating webapps directory N/A action params sudo chown -R %(SERVER_USERNAME)s: %(APPS_DIR)s N/A action params message run git config --global user.name '%(GIT_USERNAME)s' Configuring git N/A action params run git config --global user.email '%(ADMIN_EMAIL)s' N/A action params put N/A file destination %(GITHUB_DEPLOY_KEY_PATH)s /home/%(SERVER_USERNAME)s/.ssh/%(GITHUB_DEPLOY_KEY_NAME)s N/A action params run chmod 600 /home/%(SERVER_USERNAME)s/.ssh/%(GITHUB_DEPLOY_KEY_NAME)s N/A action params run echo 'IdentityFile /home/%(SERVER_USERNAME)s/.ssh/%(GITHUB_DEPLOY_KEY_NAME)s' >> /home/%(SERVER_USERNAME)s/.ssh/config N/A action params run ssh-keyscan github.com >> /home/%(SERVER_USERNAME)s/.ssh/known_hosts N/A action params message run mkvirtualenv --no-site-packages %(PROJECT_NAME)s Creating virtualenv N/A action params message virtualenv pip install django Installing django N/A action params message virtualenv django-admin.py startproject %(PROJECT_NAME)s Creating a blank django project N/A action params message virtualenv pip install gunicorn Installing gunicorn N/A action params put N/A file destination %(FABULOUS_PATH)s/templates/gunicorn.conf.py %(PROJECT_PATH)s/gunicorn.conf.py N/A action params message run echo_supervisord_conf > /home/%(SERVER_USERNAME)s/supervisord.conf Configuring supervisor N/A action params put_template N/A template destination %(FABULOUS_PATH)s/templates/supervisord.conf /home/%(SERVER_USERNAME)s/my.supervisord.conf N/A action params run cat /home/%(SERVER_USERNAME)s/my.supervisord.conf >> /home/%(SERVER_USERNAME)s/supervisord.conf N/A action params run rm /home/%(SERVER_USERNAME)s/my.supervisord.conf N/A action params sudo mv /home/%(SERVER_USERNAME)s/supervisord.conf /etc/supervisord.conf N/A action params sudo supervisord N/A action params put N/A file destination %(FABULOUS_PATH)s/templates/supervisord-init /home/%(SERVER_USERNAME)s/supervisord-init N/A action params sudo mv /home/%(SERVER_USERNAME)s/supervisord-init /etc/init.d/supervisord N/A action params sudo chmod +x /etc/init.d/supervisord N/A action params sudo update-rc.d supervisord defaults