A fully functional CRM web system built with Django, supporting Docker, Nginx, and modular app architecture.
- Django
- Python 3.x
- SQLite (can be replaced with PostgreSQL or MySQL)
- Docker / Docker Compose
- HTML / Bootstrap
- Gunicorn
- Nginx (as reverse proxy)
- 🔐 User management system (via Admin panel)
- 📁 Record management through the
mainapp - ⚙️ Modular Django app structure
- 🚢 Ready for containerized deployment using Docker
- 🖥️ Production-ready stack with Gunicorn and Nginx
- Create a virtual environment (optional):
python -m venv env source env/bin/activate # or .\env\Scripts\activate on Windows Install dependencies:
pip install -r requirements.txt Apply database migrations:
python manage.py migrate Start the development server:
python manage.py runserver
Build the image and start the containers:
docker-compose up --build Access the app at: http://localhost:8000
To switch from SQLite to PostgreSQL, update both settings.py and docker-compose.yml.
Remove or clean up db.sqlite3 before deploying to production.
The .env file is excluded from version control for security reasons.