Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/walber-vaz/agenda-django
Criando agenda usando Django
https://github.com/walber-vaz/agenda-django
django django-framework poetry project
Last synced: about 2 months ago
JSON representation
Criando agenda usando Django
- Host: GitHub
- URL: https://github.com/walber-vaz/agenda-django
- Owner: walber-vaz
- License: mit
- Created: 2023-08-11T13:05:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-16T12:18:34.000Z (3 months ago)
- Last Synced: 2024-10-18T06:35:42.813Z (3 months ago)
- Topics: django, django-framework, poetry, project
- Language: Python
- Homepage:
- Size: 103 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Projeto django Agenda de Contatos
## Descrição do Projeto
Projeto de uma agenda de contatos desenvolvido em Django.
## Comandos
### Criar ambiente virtual
```bash
poetry init
```### Instalar Django
```bash
poetry add django
```### Criar projeto Django
```bash
poetry run django-admin startproject core
```### Criar app
```bash
poetry run python manage.py startapp contacts
```### Criar migrações
```bash
poetry run python manage.py makemigrations
```### Executar migrações
```bash
poetry run python manage.py migrate
```### Criar super usuário
```bash
poetry run python manage.py createsuperuser
```### Executar servidor
```bash
poetry run python manage.py runserver
```### Criar arquivo requirements.txt
```bash
poetry export -f requirements.txt -o requirements.txt
```### Instalar dependências
```bash
poetry install
```### Criar arquivo .env
```bash
python contrib/env_gen.py
```## Referências
- [Django](https://www.djangoproject.com/)
## Autor
- [Walber Vaz]("https://linkedin.com/in/walber-vaz")
## Licença
[MIT](LICENSE)