... | @@ -61,16 +61,17 @@ $ python manage.py $@ |
... | @@ -61,16 +61,17 @@ $ python manage.py $@ |
|
Then everytime you would be using `python manage.py [args]`, you can use `./manage.sh [args]` instead.
|
|
Then everytime you would be using `python manage.py [args]`, you can use `./manage.sh [args]` instead.
|
|
|
|
|
|
Another option is to point the --settings option of the commands to the module.
|
|
Another option is to point the --settings option of the commands to the module.
|
|
|
|
|
|
|
|
|
|
* To run a basic celery worker listening on everything
|
|
|
|
|
|
|
|
|
|
* change to the working directory
|
|
|
|
|
|
|
|
$ cd app
|
|
|
|
|
|
|
|
* To run a basic celery worker listening on everything (open a new terminal or use screen)
|
|
$ 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/
|
|
|
|
$ python manage.py migrate (--settings=escriptorium.local_settings)
|
|
$ python manage.py migrate (--settings=escriptorium.local_settings)
|
|
|
|
|
|
* Run the server
|
|
* Run the server
|
... | | ... | |