8
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

*/
``` 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 */ ```

4 comments

[–] pmyb2 0 points (+0|-0)

on ubuntu add libmysqlclient-dev

[–] fusir [OP] 0 points (+0|-0) Edited

Yeah, unfortunately on debian it is libmariadbclient-dev and libmysqlclient-dev doesn't exist.

But good catch.

[–] pmyb2 1 points (+1|-0)

yeah I am just trying to get this going on ubuntu. Still stuck on one plugin but I'm calling it for the night.