mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-05 12:40:17 +03:00
Updated requirements.apt and README on how to run tests.
This commit is contained in:
parent
f644220401
commit
5a22dae175
|
@ -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.
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user