- Python >= 3.12
- Poetry >= 1.7.1
- Docker Desktop >= 25.0.0
- Clone the repository
git clone https://github.com/dmitlenko/buildman-dj.git
- Install the dependencies
poetry install
- Setup the development settings
make dev-settings
- Run the development database
make up-dependencies
- Run the migrations
make migrate
- Run the development server
make runserver
- Create a new app
make app
- Enter the app name
Enter app name: <app_name>
- Add the app to the
INSTALLED_APPS
in thebuildman/project/settings/base.py
INSTALLED_APPS = [
...
'buildman.apps.<app_name>',
...
]
make runserver
- Run the development servermake migrate
- Run the migrationsmake migrations
- Create a new migrationmake shell
- Run the Django shellmake up-dependencies
- Run the development databasemake dev-setting
- Setup the development settings
- Build the Docker image
docker componse build
- Setup the environment variables
cp .env.example .env
- Run the Docker container
docker-compose up
This project is licensed under the MIT License - see the LICENSE file for details.