An open API service indexing awesome lists of open source software.

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

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`