Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.33 KB

README.md

File metadata and controls

51 lines (37 loc) · 1.33 KB

How to use VueJs, Django, Django Rest Framework, Postgres and Nginx

Cristian Yosafat Hernández Ruiz

How to use VueJs, Django, Django Rest Framework, Postgres, Gunicorn and Nginx


FrontEnd (VueJS) Docker Compose

You need to run FrontEnd and BackEnd CLI

cd front && docker-compose up

Open http://localhost:8081 with your browser to see the app

BackEnd (Django, Django Rest Framework, Postgres, Nginx) Docker Compose

cd back && docker-compose up

Api BackEnd http://localhost:1337

Debug FrontEnd

yarn serve

Debug BackEnd

python3 manage.py makemigrations app
python3 manage.py migrate app
python3 manage.py runserver

docker-compose run app python3 manage.py makemigrations app
docker-compose run app python3 manage.py migrate app
docker-compose up


How to use VueJs, Django, Django Rest Framework, Postgres, Gunicorn and Nginx How to use VueJs, Django, Django Rest Framework, Postgres, Gunicorn and Nginx