Phuks Installation
Ubuntu 16.04
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install git python3 mysql-server redis-server libboost-python-dev python3-pip wget libffi-dev libexiv2-dev make build-essential libssl-dev zlib1g-dev libbz2-dev libsqlite3-dev
sudo apt-get install libmysqlclient-dev
install pyenv - $ curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
add to bash -
a. echo 'export PATH="$HOME/.pyenv/bin:$PATH"' >> ~/.bashrc
b. echo 'eval "$(pyenv init -)"' >> ~/.bashrc
c. echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc
d. source ~/.bashrc
pyenv install 3.5.5
git clone https://phab.phuks.co/source/throat.git
cd throat
pyenv virtualenv 3.5.5 app
pyenv local app
pip install -r requirements.txt
npm -v
npm install
npm run build
cp example.config.py config.py
sudo nano config.py(change sql user and password)
mysql -u root -p
create database phuks;
exit
mysql -u root -p
SET GLOBAL sql_mode='';
exit
sudo apt-get install nginx
An almost complete guide for setting up phuks.
My next attempt at a write up on how to setup phuks.
It should be noted that polsaker and the main site use Debian/nginx. I dev on two machines with Ubuntu16/mysql and Debian/Mariadb both with Apache. I never used nginx until phuks. I'm trying to pull all the how-tos together.
Thank you so much for helping us make some better docs so we can get some more people up and running. It's way overdue.