... | @@ -54,14 +54,17 @@ Another option is to point the --settings option of the commands to the module. |
... | @@ -54,14 +54,17 @@ Another option is to point the --settings option of the commands to the module. |
|
|
|
|
|
|
|
|
|
* To run a basic celery worker listening on everything
|
|
* To run a basic celery worker listening on everything
|
|
$ celery -A escriptorium worker -l INFO
|
|
|
|
|
|
$ celery -A escriptorium worker -l INFO
|
|
To disable celery completely, and process everything synchronously, you can set `CELERY_TASK_ALWAYS_EAGER = True`
|
|
To disable celery completely, and process everything synchronously, you can set `CELERY_TASK_ALWAYS_EAGER = True`
|
|
|
|
|
|
* Create the sql tables
|
|
* Create the sql tables
|
|
|
|
|
|
$ cd app/
|
|
$ cd app/
|
|
$ python manage.py migrate (--settings=escriptorium.local_settings)
|
|
$ python manage.py migrate (--settings=escriptorium.local_settings)
|
|
|
|
|
|
* Run the server
|
|
* Run the server
|
|
|
|
|
|
$ python manage.py runserver (--settings=escriptorium.local_settings)
|
|
$ python manage.py runserver (--settings=escriptorium.local_settings)
|
|
|
|
|
|
The website should be accessible at http://localhost:8000/ |
|
The website should be accessible at http://localhost:8000/ |