Files
old-riskletpy/README.md

64 lines
1.2 KiB
Markdown
Raw Normal View History

2024-12-29 03:44:52 +01:00
## This project was done with:
* [Python 3.12](https://www.python.org/)
* [Django 5.1.3](https://www.djangoproject.com/)
## How to run project?
* Clone this repository.
* Create virtualenv with Python 3.
* Active the virtualenv.
* Install dependences.
* Run the migrations.
```
git clone https://github.com/senaduka/backend.git
cd backend
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python contrib/env_gen.py
python manage.py migrate
```
## Django Seed
if running [django-seed](https://github.com/Brobin/django-seed) type:
```
python manage.py seed crm expense --number=15
```
## Este projeto foi feito com:
* [Python 3.12](https://www.python.org/)
* [Django 5.1.3](https://www.djangoproject.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/senaduka/backend.git
cd backend
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python contrib/env_gen.py
python manage.py migrate
```
## Django Seed
Se quiser rodar o [django-seed](https://github.com/Brobin/django-seed) digite:
```
python manage.py seed crm expense --number=15
```