https://github.com/darekbx/raspberry-resource-manager
Flask based resources manager application for Raspberry Pi
https://github.com/darekbx/raspberry-resource-manager
flask python raspberry-pi
Last synced: 3 months ago
JSON representation
Flask based resources manager application for Raspberry Pi
- Host: GitHub
- URL: https://github.com/darekbx/raspberry-resource-manager
- Owner: darekbx
- Created: 2020-04-10T14:27:35.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-28T13:41:58.000Z (about 6 years ago)
- Last Synced: 2025-10-19T05:40:23.688Z (9 months ago)
- Topics: flask, python, raspberry-pi
- Language: Python
- Size: 43 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
## Raspberry Pi Resource Manager Flask app
#### Project structure
* **run.py** - start point of the app, to start application just run `python3 run.py`
* **requirements.txt** - list of required python modules
* **app** - directory with the application
* **templates** - directory with html templates
* **\_\_init\_\_.py** - here is the application initialized
* **configuration.py** - configuration reader (configuration is stored in configuration.json file)
* **models.py** - file with database models (tables)
* **views.py** - file contains routes with views, like "/" or "/login"
* **resource-manager.db** - sqlite database file
#### Installation
Enter to project directory and add dir:
`mkdir venv`
Then run:
`python3 -m venv venv`
Install Python PIP (OS X):
`sudo easy_install pip`
Install Flask:
`python3 -m pip install Flask`
Install Flask-SQLAlchemy:
`python3 -m pip install Flask-SQLAlchemy`