creating separate start scripts for linux vs osx

This commit is contained in:
Tom Chapin 2024-02-03 15:05:52 -08:00
parent b76b66c733
commit 161abb14d1
2 changed files with 48 additions and 1 deletions

2
OS/01/start.sh → OS/01/start_linux.sh Normal file → Executable file
View File

@ -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

47
OS/01/start_osx.sh Executable file
View File

@ -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