|
3 years ago | |
---|---|---|
app | 3 years ago | |
.gitignore | 3 years ago | |
README.md | 3 years ago | |
nginx_paired.conf | 3 years ago | |
paired.service | 3 years ago | |
requirements.txt | 3 years ago |
Live code sharing!
Scrapped together with Flask, Socket.io, and Bulma styles.
Don't expect things to be considered properly, it fundamentally works and that's all it needs to do.
A live version can be seen at paired.gwillz.com.
But please don't DDoS me. There's no diffing for the code/data, so I can imagine traffic being quite ugly if it picked up.
#ugh
#bloat
#featurecreep
#prematureoptimization
sudo apt-get install git python3 python3-pip
sudo mkdir -p /srv/paired
cd /srv/paired
sudo chown www-data: .
git clone https://github.com/gwillz/paired-sockets .
sudo -u www-data -H pip3 install -r requirements.txt --user
sudo cp paired.service /etc/systemd/system
sudo ln -s nginx_paired.conf /etc/nginx/sites-enabled/paired
sudo systemctl daemon-reload
sudo systemctl start paired
sudo systemctl enable paired
sudo systemctl reload nginx