This repository provides a Dockerized environment for running a Django project with a PostgreSQL database. This README will guide you through the setup process.
- Docker and Docker Compose should be installed on your system.
-
Clone the repository:
git clone git@github.com:CODEREXLTD/marketing-app.git
cd closez
-
Build the Docker image and start the containers::
docker-compose up -d --build
docker-compose exec web python manage.py migrate
docker-compose exec web python manage.py createsuperuser
-
Install package
docker-compose exec web pip install PACKAGE_NAME
-
Update requirements.txt
docker-compose exec web pip freeze > backend/requirements.txt