https://github.com/byloth/django-docker-template
😄 A template of a ready-to-use dockerized Django application.
https://github.com/byloth/django-docker-template
django docker python ready-to-use template
Last synced: about 2 months ago
JSON representation
😄 A template of a ready-to-use dockerized Django application.
- Host: GitHub
- URL: https://github.com/byloth/django-docker-template
- Owner: Byloth
- License: apache-2.0
- Created: 2023-11-21T21:07:40.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-25T15:40:51.000Z (over 1 year ago)
- Last Synced: 2025-04-13T19:50:26.622Z (about 1 year ago)
- Topics: django, docker, python, ready-to-use, template
- Language: Python
- Homepage:
- Size: 131 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Happy 😄
A template of a ready-to-use dockerized Django application.
## Get started
### Build
```sh
docker compose build
```
### First run
```sh
docker compose up -d postgres
docker compose exec postgres psql -U postgres
```
```psql
CREATE USER happy WITH PASSWORD 'happy00';
CREATE DATABASE happy WITH OWNER happy;
\q
```
```sh
docker compose up -d
docker compose exec django ./manage.py migrate
docker compose exec django ./manage.py createsuperuser
```
### Run
```python
docker compose up [-d]
```