Skip to content

Commit

Permalink
Updated doc/installation.md command formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
anttihirvonen committed May 20, 2012
1 parent 5054758 commit 353aaa2
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions doc/installation.md
Expand Up @@ -4,12 +4,14 @@ Installation instructions

These installation instructions cover the installation on *nix platform that already has Python 2.5 > pre-installed.

1. Install pip, virtualenv and virtualenvwrapper. (sudo easy_install pip virtualenv virtualenvwrapper)
1. Install pip, virtualenv and virtualenvwrapper. (``sudo easy_install pip virtualenv virtualenvwrapper``)
2. Pull code from github.
3. Move to project root directory.
4. Create new virtual Python environment. (mkvirtualenv --no-site-packages aaltoanalytics)
5. Install requirements using pip. (pip install -r config/requirements && pip install -r config/development_requirements.txt)
6. Copy template settings from "config/template_local.py" to "aaltoanalytics/settings/local.py" and modify as you wish.
7. Create database. (python manage.py syncdb && python manage.py migrate)
7. Run server. (python manage.py runserver)
8. Navigate to http://127.0.0.1:8000/mobile/ and app should be running.
4. Create new virtual Python environment. (``mkvirtualenv --no-site-packages aaltoanalytics``)
5. Install requirements using pip. (``pip install -r config/requirements && pip install -r config/development_requirements.txt``)
6. Copy template settings from ``config/template_local.py`` to ``aaltoanalytics/settings/local.py`` and modify as you wish.
7. Create database. (``python manage.py syncdb && python manage.py migrate``)
8. Run the development server. (``python manage.py runserver``)
9. Navigate to ``http://127.0.0.1:8000/mobile/`` and app should be running.

If you eg. accidentally close the terminal, just run ``workon aaltoanalytics`` to activate the virtual environment and you'll be able to run the ``python manage.py`` commands again.

0 comments on commit 353aaa2

Please sign in to comment.