Skip to content

rg3915/fullstack-django-vuejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fullstack-django-vuejs-2023

Teste de Django e VueJS no Docker.

Este projeto foi feito com:

Como rodar o projeto?

  • Clone esse repositório.
  • Crie um virtualenv com Python 3.
  • Ative o virtualenv.
  • Instale as dependências.
  • Rode as migrações.
git clone https://github.com/rg3915/fullstack-django-vuejs.git
cd fullstack-django-vuejs

python contrib/env_gen.py

docker-compose up --build -d
docker-compose run backend manage migrate
docker-compose run backend manage createsuperuser --username="admin" --email=""

Links

https://v2.vuejs.org/v2/cookbook/dockerize-vuejs-app.html

https://dev.to/programmingdecoded/docker-configuration-with-nginx-routing-for-vue-and-laravel-49e9

https://stackoverflow.com/questions/72548750/docker-nginx-reverse-proxy-to-vue-vite-and-backend-containers-unexpected-result