... | ... | @@ -76,6 +76,30 @@ Another option is to point the --settings option of the manage commands to the m |
|
|
|
|
|
$ celery -A escriptorium worker -l INFO
|
|
|
|
|
|
|
|
|
* To install `npm` dependencies (run once)
|
|
|
|
|
|
$ cd front
|
|
|
$ npm install
|
|
|
|
|
|
Then, you can choose one of the following build to serve JS dependencies and the Vue application code.
|
|
|
|
|
|
* To generate a single JS build in development mode, it will enable warnings/errors display in the browser console
|
|
|
|
|
|
$ cd front
|
|
|
$ npm run build
|
|
|
|
|
|
* To generate a continuous JS build using the `--watch` option and in development mode, it will enable warnings/errors display in the browser console
|
|
|
|
|
|
$ cd front
|
|
|
$ npm run start
|
|
|
|
|
|
* To generate an optimized production build
|
|
|
|
|
|
$ cd front
|
|
|
$ npm run production
|
|
|
|
|
|
|
|
|
To disable celery completely, and process everything synchronously, you can set `CELERY_TASK_ALWAYS_EAGER = True`
|
|
|
|
|
|
* Create the sql tables
|
... | ... | |