Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apexal/rcos_io
The final RCOS web client. Built on the RCOS database via Hasura.
https://github.com/apexal/rcos_io
flask python
Last synced: 27 days ago
JSON representation
The final RCOS web client. Built on the RCOS database via Hasura.
- Host: GitHub
- URL: https://github.com/apexal/rcos_io
- Owner: Apexal
- License: mit
- Created: 2022-10-21T17:22:10.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-02T06:55:09.000Z (about 2 years ago)
- Last Synced: 2024-05-01T18:30:57.387Z (9 months ago)
- Topics: flask, python
- Language: Python
- Homepage:
- Size: 806 KB
- Stars: 3
- Watchers: 5
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RCOS I/O
The final RCOS web client. Built on the RCOS database via Hasura and an extremely safe and boring Python Flask stack.
## Local Development
Setup is very straightforward. If you run into **any** problems big or small while going through these stesp, open an [Issue](https://github.com/Apexal/rcos_io/issues/new). It will greatly help us improve the docs.
### Requirements
1. Python 3.8 or above
2. An understanding of [Flask](https://flask.palletsprojects.com/en/2.2.x/quickstart/)### Setup
#### Setting up the Flask server
1. `python3 -m venv ./venv`
or `python -m venv ./venv` for Windows
2. `source ./venv/bin/activate`
- or `.\venv\Scripts\Activate.ps1` (in PowerShell) for Windows
3. `pip install -r requirements.txt` (note: `pip` and not `pip3`)
4. `pre-commit install`
5. `cp .env.example .env`
6. Fill out `.env` with valid values
- these come from current Coordinators### Running
1. `source ./venv/bin/activate`
- or `.\venv\Scripts\Activate.ps1` (in PowerShell) for Windows
2. `flask run`
3. Navigate to the URL printed in the console, typically http://127.0.0.1:5000Any code or template changes you make will automatically restart the server.
## Deploying to Production
Pushes to `main` automatically deploy to https://rcos.up.railway.app/
## License
MIT