28 lines
926 B
Bash
28 lines
926 B
Bash
#!/bin/bash
|
|
echo "allspice-windows-install.sh starting install" | tee -a ~/AllSpice/AllSpice-Install/log.txt
|
|
|
|
# Install Python
|
|
~/AllSpice/Allspice-Install/install-scripts/install-python.sh
|
|
|
|
# Install Python Dependencies
|
|
~/AllSpice/Allspice-Install/install-scripts/install-python-dependencies.sh
|
|
|
|
# Install AllSpice Python wrapper
|
|
~/AllSpice/Allspice-Install/install-scripts/install-py-allspice.sh
|
|
|
|
# Open AllSpice Web App Login
|
|
python -c "import webbrowser; webbrowser.open('https://hub.allspice.io/user/login')"
|
|
|
|
# Wait for user to login
|
|
python ~/AllSpice/Allspice-Install/install-scripts/python-messenger.py -m "Please log into AllSpice (https://hub.allspice.io/user/login) and press Enter to continue" -s "bold yellow"
|
|
|
|
|
|
read -p "Press Enter to continue" </dev/tty
|
|
|
|
# Run GUI to get access token
|
|
# python ~/AllSpice/Allspice-Install/install-scripts/gather-access-token.py
|
|
|
|
# refresh environment variables
|
|
source ~/.bashrc
|
|
|