/thanks-python

Thanks Python project

Primary LanguagePythonMIT LicenseMIT

Thanks Python

CPython Contributions

Built with Cookiecutter Django
License:MIT

Settings

Moved to settings.

Basic Commands

Test coverage

To run the tests, check your test coverage, and generate an HTML coverage report:

$ coverage run -m pytest
$ coverage html
$ open htmlcov/index.html

Running tests with py.test

$ pytest

Celery

This app comes with Celery.

To run a celery worker:

cd thanks_python
celery -A thanks_python.taskapp worker -l info

Please note: For Celery's import magic to work, it is important where the celery commands are run. If you are in the same folder with manage.py, you should be right.

Deployment

The following details how to deploy this application.

Heroku

See detailed cookiecutter-django Heroku documentation.

Docker

See detailed cookiecutter-django Docker documentation.