From 161abb14d12673fbe64a2275a9a1a5d308dcd369 Mon Sep 17 00:00:00 2001 From: Tom Chapin Date: Sat, 3 Feb 2024 15:05:52 -0800 Subject: [PATCH] creating separate start scripts for linux vs osx --- OS/01/{start.sh => start_linux.sh} | 2 +- OS/01/start_osx.sh | 47 ++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 1 deletion(-) rename OS/01/{start.sh => start_linux.sh} (91%) mode change 100644 => 100755 create mode 100755 OS/01/start_osx.sh diff --git a/OS/01/start.sh b/OS/01/start_linux.sh old mode 100644 new mode 100755 similarity index 91% rename from OS/01/start.sh rename to OS/01/start_linux.sh index 9689c4b..f73c055 --- a/OS/01/start.sh +++ b/OS/01/start_linux.sh @@ -16,7 +16,7 @@ redis-cli -h localhost -p 6379 rpush to_core "" # START KERNEL WATCHER -python core/kernel_watcher.py & +python core/kernel_watch.py & # START SST AND TTS SERVICES diff --git a/OS/01/start_osx.sh b/OS/01/start_osx.sh new file mode 100755 index 0000000..43dba03 --- /dev/null +++ b/OS/01/start_osx.sh @@ -0,0 +1,47 @@ +### SETUP + +# INSTALL REQUIREMENTS + +brew update +brew install redis +pip install -r requirements.txt + +# START REDIS + +redis-server & + +redis-cli -h localhost -p 6379 rpush to_interface "" +redis-cli -h localhost -p 6379 rpush to_core "" + + +### CORE + +# START KERNEL WATCHER + +python core/kernel_watcher.py & + +# START SST AND TTS SERVICES + +# (todo) +# (i think we should start with hosted services) + +# START LLM + +# (disabled, we'll start with hosted services) +# python core/llm/start.py & + +# START CORE + +python core/start_core.py & + + +### INTERFACE + +# START INTERFACE + +python interface/interface.py & + +# START DISPLAY + +# (this should be changed to run it in fullscreen / kiosk mode) +open interface/display.html \ No newline at end of file