17 lines
473 B
Markdown
17 lines
473 B
Markdown
First of change the Env variables in the .env and the docker-compose.yml file to your own values.
|
|
|
|
Then create the docker container and run it with the following command:
|
|
```bash
|
|
docker-compose up --build
|
|
```
|
|
This starts the Database \
|
|
Then run the following command to create the database tables:
|
|
```bash
|
|
python manage.py migrate
|
|
python manage.py migrate --run-syncdb
|
|
```
|
|
|
|
At last, run the following command to start the server:
|
|
```bash
|
|
python manage.py runserver 3030
|
|
``` |