Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
ricleal committed Dec 8, 2016
1 parent cbc6b25 commit 64d2cb2
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,41 @@ To run those tests as well, copy the ``.env.base`` file to ``.env`` and modify
the variables as needed. If this file has not been set up, then those tests
will be skipped, but it won't affect the success or failure of the tests.

Running tests independtely, e.g.::

python runtests.py tests.test_tasks.SubmitJobTaskTest.test_normal_usage
python runtests.py tests.test_tasks.SubmitJobTaskTest
python runtests.py tests.test_tasks
python runtests.py tests.test_models

=============================
Running the Example
=============================

Launch Redis::

redis-server

Launch Celery::

cd example
celery -A server.celery worker --loglevel=info

Launch Django::

cd example
./manage.py makemigrations
./manage.py migrate
./manage.py loaddata fixtures/initial_data.json
./manage.py runserver

Open in browser::

http://localhost:8000/admin/
http://localhost:8000/


Credits
---------

Expand Down

0 comments on commit 64d2cb2

Please sign in to comment.