https://github.com/elloramir/lais
Submission made in python/django
https://github.com/elloramir/lais
Last synced: 2 months ago
JSON representation
Submission made in python/django
- Host: GitHub
- URL: https://github.com/elloramir/lais
- Owner: elloramir
- Created: 2023-12-28T14:47:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-17T14:58:47.000Z (over 1 year ago)
- Last Synced: 2025-01-13T11:30:21.534Z (4 months ago)
- Language: Python
- Homepage:
- Size: 48.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### How to build and run the system
You can use Docker to run the project in the context of Postgres, or just run it using your own computer environment (it will fall back to the SQLite database).- With Docker container (it will automatically build and run the system)
```sh
docker compose up --build
```- Raw system environment
```sh
pip install -r requirements.txt
python manager.py runserver
```### Extra steps
You will also need a superuser to access the dashboard. There are two commands to update some choice data, one for "Grupos de Serviço" and another for "Estabelecimentos"
```sh
python manager.py createsuperuser
python manager.py update_grupos
python manager.py update_estabelecimentos
```You can use the default login page to log in to the superuser account. Have a good time!