Compare commits
No commits in common. "87ebff5bcaa42c7d34e4f0cddb340494380f1d1c" and "0b4318d557b2d0c4539fc6e680ac7b23083fbc39" have entirely different histories.
87ebff5bca
...
0b4318d557
5 changed files with 11 additions and 8 deletions
2
TODO.md
2
TODO.md
|
@ -3,7 +3,6 @@
|
||||||
## First time/TP-Config
|
## First time/TP-Config
|
||||||
- Add network configuration (replace nmtui)
|
- Add network configuration (replace nmtui)
|
||||||
- Add hostname configuration (replace nmtui)
|
- Add hostname configuration (replace nmtui)
|
||||||
- Import/export settings
|
|
||||||
|
|
||||||
## Misc
|
## Misc
|
||||||
- Cleanup
|
- Cleanup
|
||||||
|
@ -12,4 +11,5 @@
|
||||||
|
|
||||||
## Things to consider
|
## Things to consider
|
||||||
- Wayland using labwc/waybox
|
- Wayland using labwc/waybox
|
||||||
|
- Python 3
|
||||||
- Detect if frontend did not load correctly (probably not easy)
|
- Detect if frontend did not load correctly (probably not easy)
|
||||||
|
|
|
@ -14,9 +14,11 @@ parted
|
||||||
unzip
|
unzip
|
||||||
build-essential
|
build-essential
|
||||||
manpages-dev
|
manpages-dev
|
||||||
|
python
|
||||||
bash-completion
|
bash-completion
|
||||||
gdb
|
gdb
|
||||||
pkg-config
|
pkg-config
|
||||||
|
python-rpi.gpio
|
||||||
v4l-utils
|
v4l-utils
|
||||||
avahi-daemon
|
avahi-daemon
|
||||||
hardlink
|
hardlink
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
python3-pip
|
python-pip
|
||||||
python3-dev
|
python-dev
|
||||||
python3-setuptools
|
python-setuptools
|
||||||
python3-venv
|
python-virtualenv
|
||||||
git
|
git
|
||||||
libyaml-dev
|
libyaml-dev
|
||||||
nginx
|
nginx
|
||||||
|
|
|
@ -23,8 +23,9 @@ systemctl disable nginx
|
||||||
|
|
||||||
# If OctoPrint already exists, skip this (for debugging)
|
# If OctoPrint already exists, skip this (for debugging)
|
||||||
if [[ ! -f /srv/octoprint/bin/octoprint ]]; then
|
if [[ ! -f /srv/octoprint/bin/octoprint ]]; then
|
||||||
python3 -m venv /srv/octoprint || exit 1
|
cd /srv/ || exit 1
|
||||||
source /srv/octoprint/bin/activate || exit 1
|
virtualenv octoprint || exit 1
|
||||||
|
source octoprint/bin/activate || exit 1
|
||||||
pip install pip --upgrade
|
pip install pip --upgrade
|
||||||
pip install octoprint || exit 1
|
pip install octoprint || exit 1
|
||||||
# Fix permissions
|
# Fix permissions
|
||||||
|
|
|
@ -41,7 +41,7 @@ recommended_menu () {
|
||||||
echo $(( $i * 100 / ${#RECOMMEND_MENU[@]} )) | dialog --title "Plugin Manager" --gauge "Installing ${RECOMMEND_MENU[$i]}" 10 50
|
echo $(( $i * 100 / ${#RECOMMEND_MENU[@]} )) | dialog --title "Plugin Manager" --gauge "Installing ${RECOMMEND_MENU[$i]}" 10 50
|
||||||
case ${RECOMMEND_MENU[$i]} in
|
case ${RECOMMEND_MENU[$i]} in
|
||||||
"OctoPrint-Dashboard") install_package "https://github.com/StefanCohen/OctoPrint-Dashboard/archive/master.zip" || error_install ${RECOMMEND_MENU[$i]}; install_package "https://github.com/OllisGit/OctoPrint-DisplayLayerProgress/releases/latest/download/master.zip" || error_install ${RECOMMEND_MENU[$i]};;
|
"OctoPrint-Dashboard") install_package "https://github.com/StefanCohen/OctoPrint-Dashboard/archive/master.zip" || error_install ${RECOMMEND_MENU[$i]}; install_package "https://github.com/OllisGit/OctoPrint-DisplayLayerProgress/releases/latest/download/master.zip" || error_install ${RECOMMEND_MENU[$i]};;
|
||||||
"ExcludeRegion") install_package "https://github.com/bradcfisher/OctoPrint-ExcludeRegionPlugin/archive/feature/python3_compat.zip" || error_install ${RECOMMEND_MENU[$i]};;
|
"ExcludeRegion") install_package "https://github.com/bradcfisher/OctoPrint-ExcludeRegionPlugin/archive/master.zip" || error_install ${RECOMMEND_MENU[$i]};;
|
||||||
"NavbarTemp") install_package "https://github.com/imrahil/OctoPrint-NavbarTemp/archive/master.zip" || error_install ${RECOMMEND_MENU[$i]};;
|
"NavbarTemp") install_package "https://github.com/imrahil/OctoPrint-NavbarTemp/archive/master.zip" || error_install ${RECOMMEND_MENU[$i]};;
|
||||||
"PrintTimeGenius") install_package "https://github.com/eyal0/OctoPrint-PrintTimeGenius/archive/master.zip" || error_install ${RECOMMEND_MENU[$i]};;
|
"PrintTimeGenius") install_package "https://github.com/eyal0/OctoPrint-PrintTimeGenius/archive/master.zip" || error_install ${RECOMMEND_MENU[$i]};;
|
||||||
"HeaterTimeout") install_package "https://github.com/google/OctoPrint-HeaterTimeout/archive/master.zip" || error_install ${RECOMMEND_MENU[$i]};;
|
"HeaterTimeout") install_package "https://github.com/google/OctoPrint-HeaterTimeout/archive/master.zip" || error_install ${RECOMMEND_MENU[$i]};;
|
||||||
|
|
Loading…
Reference in a new issue