This project is a Docker container which runs a Django Development server and Mysql Database Server Stack with optional GUI.
The project is intended for developers with some knowledge of Python, Django and Mysql. All settings and config are default and can be customised to suit your needs. It was designed to get Django devs up and running faster with a more powerful database engine.
Note: Django Mysql is not ideal under heavy traffic and is suited for low to moderate traffic applications.
- Native GUI Webview
- Django Mysql Stack
To deploy this project clone or download & extract the repository into your workspace.
To use the GUI webview for viewing your app build the container by executing run.py from the command line.
Win32 / Win64
$ python run.pyLinux / MacOs
$ python3 run.pyTo view your app in the browser utilse docker compose from the command line to build the container.
$ docker compose up -dStop the container services
$ docker compose downAfter you have built the container it can now be managed in Docker Desktop. You then have the possibility the stop or restart the container, view logs, use the container's native terminal and view your app your default web browser.
Contributions are always welcome!
Fork the project, do your thing and send me a PR. I will test and merge as long as everything works without bugs.
- Adding Support for Apache Webserver Deployment using WSGI.
You need Docker Desktop which provides the environment to launch the contaner.
Installs all requirements and dependencies.
Launches Django Dev Server on port 8000.
Launches Mysql 8 on port 3306.
Setup a new Django development environment in 30 - 60 seconds.
