Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rg3915/fullstack-django-vuejs
Test Django and VueJS on Docker 2023
https://github.com/rg3915/fullstack-django-vuejs
django docker nginx vuejs
Last synced: about 1 month ago
JSON representation
Test Django and VueJS on Docker 2023
- Host: GitHub
- URL: https://github.com/rg3915/fullstack-django-vuejs
- Owner: rg3915
- Created: 2023-01-16T07:23:56.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-22T10:29:01.000Z (about 2 years ago)
- Last Synced: 2024-11-14T19:42:18.990Z (3 months ago)
- Topics: django, docker, nginx, vuejs
- Language: Python
- Homepage:
- Size: 224 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fullstack-django-vuejs-2023
Teste de Django e VueJS no Docker.
## Este projeto foi feito com:
- [Python 3.10.6](https://www.python.org/)
- [Django 4.1.5](https://www.djangoproject.com/)
- [Django Rest Framework 3.14.0](https://www.django-rest-framework.org/)
- [VueJS 3.2.13](https://vuejs.org/)
- [Node 18](https://nodejs.org/en/)## 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-vuejspython 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