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

Commit

Permalink
Expanding on the virtualenv bit of the guide
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhayward committed Nov 30, 2012
1 parent 1c4fc5d commit 1361888
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions README.md
Expand Up @@ -33,21 +33,34 @@ Installation

1. Fork [the core gameon repository][gameon-repo]
2. Clone your new repo:
`git clone --recursive git@github:{you}/gameon.git`
3. Create a new virtual environment (if that's your thing)
`> git clone --recursive git@github:{you}/gameon.git`
3. Set up a new [virtual environment][venv] (no, you really should):
1. If you haven't already, install virtualenv[^1]:
`> pip install virtualenv`
2. Make sure you're in the repo folder:
`> cd gameon`
3. Create a virtual environment in the `venv` subfolder:
`> virtualenv venv`
4. And activate it:
`> source venv/bin/activate`
4. Install required libraries:
`pip install -r requirements/compiled.txt`
`> pip install -r requirements/compiled.txt`
5. Create a database for gameon
6. Create local settings file, and update accordingly:
`cp gameon/settings/local.py{-dist,}`
`> cp gameon/settings/local.py{-dist,}`
7. Sync your new database:
`python manage.py syncdb`
`> python manage.py syncdb`
`> python manage.py migrate`
8. Start up your development server:
`python manage.py runserver`
`> python manage.py runserver`
9. Have a party


[^1]: If you already work with `virtualenvwrapper`, we'll assume you know the
appropriate steps for using that instead.

[gameon-repo]: https://github.com/mozilla/gameon
[venv]: http://pypi.python.org/pypi/virtualenv



Expand Down

0 comments on commit 1361888

Please sign in to comment.