This is a Docker container service of the server (backed, celery, db, nginx)
This instructions i'll allow you to get a copy of the project working local into your computer for purposes of development and test.
There some applications you need to get installed into your computer to execute successfully the repo downloaded.
Docker (Windows/Linux/MacOS)
If you are a brand new Mac M1 processor user you will need to do a minor adjustment to the docker-compose.yml file, and you need to add this into the line 55 to keep the mysql image running correctly.
platform: linux/amd64
First thing you need to do, is clone the repo from bitbucket into a new folder.
git clone [email protected]/cumplo/admin-mx.git
This will create a folder named admin-mx
Once you get the application cloned you need to add two .env files in the next directories ./config/enviroments/local/
and ./config/enviroments/base/
and the content you need to request to your supervisor.
Create a new directory named ./bd
Add the sql file, this need to request to your supervisor.
$ docker-compose up ——build 🔧
This should be enough to keep the app running, for test, open your browser into this url https://localhost:8080/
$ docker ps
$ docker exec -it <container_id> bash
# python manage.py createsuperuser
Once that you create the superuser go to the url https://localhost:8080/admin and login, and see the contain of the applications created into the docker image.
Herramientas utilizadas para el desarrollo de este projecto