Skip to content

Commit

Permalink
Add launcher Mycroft Core and GUI
Browse files Browse the repository at this point in the history
Simple launcher for Design and others to use in testing
  • Loading branch information
penrods committed Jan 3, 2019
1 parent 279a9ed commit d4d8356
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions start_gui_and_mycroft.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
if [ ! -d ~/mycroft-core ] ; then
cd ~
git clone https://github.com/mycroftai/mycroft-core.git
cd mycroft-core
echo "Installing, answer: N, Y, N, Y :)"
bash ./dev_setup.sh

git clone https://github.com/mycroftai/skill-date-time.git mycroft-date-time.mycroftai
cd mycroft-date-time.mycroftai
git checkout feature/mark-2

git clone https://github.com/mycroftai/skill-weather.git mycroft-weather.mycroftai
cd mycroft-weather.mycroftai
git checkout feature/mark-2

if [ ! -d skill-mark-2 ] ; then
git clone https://github.com/mycroftai/skill-mark-2.git
fi
fi

if [ -s /usr/bin/mycroft-gui-core-loader ] ; then
# Wipe out the loader, not needed when running Mycroft this way
echo "Removing gui-core-loader"
sudo rm /usr/bin/mycroft-gui-core-loader
sudo touch /usr/bin/mycroft-gui-core-loader
fi

echo "Launching Mycroft Core"
cd ~/mycroft-core
./start-mycroft.sh all
./start-mycroft.sh enclosure
sleep 5

echo "Launching GUI"
mycroft-gui-app --autoconnect

0 comments on commit d4d8356

Please sign in to comment.