From 11ce04581381722ca2042f43bb266e95f9e8098c Mon Sep 17 00:00:00 2001 From: Bryan Bonvallet Date: Mon, 18 Nov 2013 02:11:45 -0500 Subject: [PATCH] additional dependencies and instructions for them --- README.md | 6 +++++- Vagrantfile | 15 +++++++++++---- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6d11f81..1c64382 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,7 @@ follow the steps below. 1. Ensure the following are installed: * `git` * `PostgreSQL` (server and client) + * `nginx` * `Python` * `PIP` * `virtualenv` and `virtualenvwrapper` @@ -81,10 +82,13 @@ follow the steps below. * Ensure *.py in `secret/` are never added to the git repo. (.gitignore should help warn against taking this action) +1. Make sure that /var/www exists, is owned by the www-data group, and that + the user is a member of the www-data group. + 1. Make sure that you're in the root of the project that you just cloned and run - fab here first_deploy + fab -H 127.0.0.1 first_deploy This will make a virtualenv, install the development dependencies and create the database tables. diff --git a/Vagrantfile b/Vagrantfile index dc458ca..d323583 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -14,18 +14,25 @@ VAGRANTFILE_API_VERSION = "2" # Install fabric so that the KarmaWorld fabfile may be run. -# build a shell script that installs prereqs, configures the database, pulls in -# the code from the host machine, and then runs fabric. +# build a shell script that installs prereqs, configures the database, sets up +# the user/group associations, pulls in the code from the host machine, and +# then runs fabric. shellscript = <