Runs server application for controlling multiple 3D printers with OctoPrint
Project description
# OctoPrint Dashboard
This application serves as web server for controlling multiple printers running [OctoPrint](http://octoprint.org/), this application uses Flask framework.
[GitHub](https://github.com/meadowfrey/OctoPrint-Dashboard)
## Instalation
Be sure to have virtualenv installed `bash virtualenv octoprint-dashboard . octoprint-dashboard/bin/activate ` Now you should be in virtual enviroment, you should see (octoprint-dashboard) at start of command line `bash pip install git+https://github.com/meadowfrey/OctoPrint-Dashboard.git --process-dependency-links # or pip install octoprint_dashboard --process-dependency-links `
Set environment, flask runs application by FLASK_APP environment variable `bash export FLASK_APP=octoprint-dashboard `
Get OAuth client and secret key from [here](https://auth.fit.cvut.cz/manager/index.xhtml). Create new project and app of type Web application, with redirect uri of your host name or IP.
Configure application `bash python -m flask config ` * Password for token encryption - is only hash for token, you don’t have to remember it * Client refresh - seconds between data refresh for user * Server refresh - seconds between data refresh on server side * Client ID - Client ID from given by OAuth server * Client secret - given by OAuth server * Redirect URI - same as given to OAuth server, it has to equal yu hostname
Make yourself superadmin `bash python -m flask add_superadmin [yourusername] `
Run server `bash python -m flask run --host=0.0.0.0 [--port=] `
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for octoprint_dashboard-0.2.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d721e1e112366884276e76a720a2cb84c3487a4c54b9e1942c814d87a70b90e |
|
MD5 | 02d0921ff490a1e958d7bd3603958bd0 |
|
BLAKE2b-256 | b0f9b46c02a0894df32f3754f5d81601743053e54144121d1b9f5322dca6796a |