Runs server application for controlling multiple 3D printers with OctoPrint
Project description
This application serves as web server for controlling multiple printers running OctoPrint, this application uses Flask framework.
Instalation
Be sure to have virtualenv installed
virtualenv octoprint_dashboard
. octoprint_dashboard/bin/activate
Now you should be in virtual enviroment, you should see (octoprint-dashboard) at start of command line
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
export FLASK_APP=octoprint_dashboard
Get OAuth client and secret key from here. Create new project and app of type Web application, with redirect uri of your host name or IP.
Configure application:
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
python -m flask add_superadmin [yourusername]
Run server
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
Built Distribution
Hashes for octoprint_dashboard-0.3.0.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f707e5dbad6845742569e3273d77026dc7328cef8fd88beec2d151a009dae3f0 |
|
MD5 | de82221cf0bcb4e9b6e9418506b68040 |
|
BLAKE2b-256 | 08cd689ef20c6db7d6a733f49f0d3dea4203e0529c91333bc118a8669310052a |
Hashes for octoprint_dashboard-0.3.0.dev1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1d12be364ea7b09e9b37aa3922da627e2e795e367fd59d0a748b234b91b62fb |
|
MD5 | 313105e5e31f8a4ceaeb044dc8f3af13 |
|
BLAKE2b-256 | acaee6556991d18690abee3e78fe40ca54d4942aa99539ed6f0d8534c4dde686 |