base debian
apt-get update
apt-get install git python3 mysql-server redis-server libmariadbclient-dev libboost-python-dev python3-pip wget libffi-dev libexiv2-dev
wget https://nodejs.org/dist/v9.11.1/node-v9.11.1-linux-x64.tar.xz -O node.tar.gz
tar xf node.tar.xz
cd node-*
for i in bin include lib share
do
mkdir -p /usr/local/$i
cp -a $i/* /usr/local/$i
done
cd -
rm node* -r
git clone https://phab.phuks.co/source/throat.git
cd throat
npm install
npm run build
pip3 install -r requirements.txt
mv example.config.py config.py
/etc/init.d/mysql start
echo 'create database phuks;' | mysql
cd scripts
python3 install.py
cd -
redis-server &
./wsgi.py
/*Notes
change socket.run to include host="0.0.0.0" in wsgi.py to get a proper bind with docker
*/
Yeah, unfortunately on debian it is
libmariadbclient-dev
andlibmysqlclient-dev
doesn't exist.But good catch.