From: Bryan Bonvallet Date: Mon, 18 Nov 2013 07:11:45 +0000 (-0500) Subject: additional dependencies and instructions for them X-Git-Tag: release-20150131~386^2~42 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=11ce04581381722ca2042f43bb266e95f9e8098c;p=oweals%2Fkarmaworld.git additional dependencies and instructions for them --- 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 = <