Welcome to the foundation of Startr/WEB-Django.
In the early days, we needed a solution that was simple, fast, and effective. One early morning, with great coffee in hand and a spark of creativity, we crafted a Docker image that spins up instantly and works seamlessly.
make it_run
# This will launch the container and mount the project directory into the container
# You can now start developing your Django project with the following command
python manage.py makemigrations && python manage.py migrate && python /project/our_site/manage.py runserver 0.0.0.0:8080
This mounts your project directory into /project
, letting you jump straight into coding. It’s fast and efficient—just what’s needed for smooth development.
We’ve kept it lean and streamlined—no unnecessary frills, just pure productivity. If you've struggled with environments before, this will feel like a relief.
- Seamless setup: One Dockerfile gives you a fully configured Python 3.11 environment with Django and
requests
—all ready to go. - Efficient multi-stage build: The Dockerfile’s multi-stage build keeps the final image small and production-ready.
- Consistent development: No more mismatched dependencies—
pipenv
ensures a clean, reproducible virtual environment every time. - With
bash <(curl -sL startr.sh) run
and Startr/WEB-Django our repository is automaticly mounted into you container for rappid devlopment - Simple versioning with our awsome make targets :D
First, clone the repository and build the Docker image with:
git clone https://github.com/Startr/WEB-Django/
cd WEB-Django
bash <(curl -sL startr.sh) run
When you’re ready to deploy, push your code to a production server. You can use the same Docker image to run your Django app in production.