LJ/server/install.sh.darwin

65 lines
1.4 KiB
Plaintext
Raw Normal View History

2020-09-21 09:06:30 +00:00
#!/bin/bash
brew upgrade
brew install python3-pip
brew install git
brew install redis
2020-09-26 14:47:22 +00:00
#brew install htop
#brew install syncthing
#brew install screen
#brew install tmux
#brew install nginx
#brew install supervisor
2020-09-21 09:06:30 +00:00
pip3 install scipy
pip3 install numpy
#pip3 install pygame==1.9.2
2020-09-26 14:47:22 +00:00
# brew install vulkan-headers
2020-09-21 09:06:30 +00:00
pip3 install redis
pip3 install pysimpledmx
pip3 install DMXEnttecPro
2020-09-26 14:47:22 +00:00
brew install libasound2-dev
brew install libjack-dev
2020-09-21 09:06:30 +00:00
pip3 install python-rtmidi
pip3 install mido
2020-09-29 20:40:10 +00:00
#pip3 install tk
2020-09-26 14:47:22 +00:00
cd ../
python3 configure.py
2020-09-21 09:06:30 +00:00
#sudo cp syncthing.conf to /etc/supervisor/conf.d/
git clone https://github.com/ptone/pyosc --depth 1 /tmp/pyosc && cd /tmp/pyosc && sudo ./setup.py install
cd /tmp
brew install portaudio19-dev
brew install cmake
2020-09-26 14:47:22 +00:00
#
# Ableton link
#
2020-09-21 09:06:30 +00:00
git clone https://github.com/Ableton/link.git
cd link
git submodule update --init --recursive
mkdir build
cd build
cmake ..
cmake --build .
cd /tmp/
git clone --recursive https://github.com/gonzaloflirt/link-python.git
cd link-python
mkdir build
cd build
cmake ..
# After cmake.. to build for non-apple python but brew style python :
#
# change in /tmp/link-python/build/CMakeCache.txt
#//Path to a program.
#PYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python3
#//Path to a library.
#PYTHON_LIBRARY:FILEPATH=/usr/local/opt/python@3.8/Frameworks/Python.framework/Versions/3.8/lib/libpython3.8.dylib
cmake --build .