Skip to content

Commit

Permalink
Fix Celery command and upgrade Node in Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
fjsj committed Dec 19, 2023
1 parent fa01f1f commit c260915
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 37 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ Send us an email at contact@vintasoftware.com telling us a bit more about how ou
- [ ] Open the command line and go to the directory you want to start your project in
- [ ] Start your project using (replace `project_name` with your project name and remove the curly braces):
```
django-admin startproject {{project_name}} --extension py,json,yml,yaml,toml --name Dockerfile,README.md,.env.example,.gitignore,Makefile --template=https://github.com/vintasoftware/django-react-boilerplate/archive/boilerplate-release.zip
django-admin startproject {{project_name}} --extension py,json,yml,yaml,toml --name Dockerfile,README.md,.env.example,.gitignore,Makefile --template=https://github.com/vintasoftware/django-react-boilerplate/archive/refs/heads/main.zip
```
Alternatively, you may start the project in the current directory by placing a `.` right after the project name, using the following command:
```
django-admin startproject {{project_name}} . --extension py,json,yml,yaml,toml --name Dockerfile,README.md,.env.example,.gitignore,Makefile --template=https://github.com/vintasoftware/django-react-boilerplate/archive/boilerplate-release.zip
django-admin startproject {{project_name}} . --extension py,json,yml,yaml,toml --name Dockerfile,README.md,.env.example,.gitignore,Makefile --template=https://github.com/vintasoftware/django-react-boilerplate/archive/refs/heads/main.zip
```
In the next steps, always remember to replace {{project_name}} with your project's name (in case it isn't yet):
- [ ] Above: don't forget the `--extension` and `--name` params!
Expand Down Expand Up @@ -167,7 +167,7 @@ After completing ALL of the above, remove this `Project bootstrap` section from
#### Setup Celery
- `poetry run python manage.py celery`
- `poetry run celery --app=myproject worker --loglevel=info`
#### Mailhog
Expand Down
Empty file.
Empty file.
32 changes: 0 additions & 32 deletions backend/common/management/commands/celery.py

This file was deleted.

2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ services:
build:
dockerfile: backend/Dockerfile
context: .
command: python manage.py celery
command: celery --app=myproject worker --loglevel=info
volumes:
- ./:/home/user/app/
env_file: backend/.env
Expand Down
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine
FROM node:20-alpine

WORKDIR /app/
ADD package.json /app/package.json
Expand Down

0 comments on commit c260915

Please sign in to comment.