Updated requirements.apt and README on how to run tests.

This commit is contained in:
Colm O'Connor 2015-08-01 17:30:24 +08:00
parent f644220401
commit 5a22dae175
2 changed files with 39 additions and 1 deletions

View File

@ -152,8 +152,26 @@ The email server listens on 127.0.0.1:1025
It's time to write the code!!!
Running end to end integration tests
------------------------------------
To run the tests, enter the {{cookiecutter.repo_name}}/tests directory and run the following commands::
$ hitch init
Then run the stub test::
$ hitch test stub.test
This will download and compile python, postgres and redis and install all python requirements so the first time it runs it may take a while.
Subsequent test runs will be much quicker.
The testing framework runs Django, Celery (if enabled), Postgres, HitchSMTP (a mock SMTP server), Firefox/Selenium and Redis.
Deployment
------------
----------
It is possible to deploy to Heroku or to your own server by using Dokku, an open source Heroku clone.

View File

@ -22,3 +22,23 @@ libwebp-dev
##django-extensions
graphviz-dev
##hitch
python-setuptools
python3-dev
python-virtualenv
python-pip
firefox
automake
libtool
libreadline6
libreadline6-dev
libreadline-dev
libsqlite3-dev
libxml2
libxml2-dev
libssl-dev
libbz2-dev
wget
curl
llvm