I've installed AlexaPi onto my Pi 3 running Debian. I currently have to open 3 terminal tabs and run 3 commands to start Alexa. I'm trying to create a start up file so these load on boot.
I've tried following the feedback from this question. But I'm not sure how to write the commands in the file.
The commands I'm trying to run are:
~TAB1-Run Listen Script~
cd ~/Desktop/alexa-avs-sample-app/samples cd companionService && npm start
~TAB2-Initiate Alexa Script~
cd ~/Desktop/alexa-avs-sample-app/samples cd javaclient && mvn exec:exec
~TAB3-Run Wake Word~
cd ~/Desktop/alexa-avs-sample-app/samples cd wakeWordAgent/src && ./wakeWordAgent -e sensory
If someone is able to explain or provide a script on how to achieve this it will be greatly appreciated as I'm trying to learn.