Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 608 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 608 Bytes

PypKa-Server-Back

Dependencies

python3 -m pip install pypka flask flask_cors
apt install gawk gcc gfortran libgfortran4
  • Pypka
  • Pypka dependencies
  • flask
  • flask_cors

Local Postgresql DB

Follow the instructions found here. Then run db.sql

Local Redis DB (no longer necessary)

On Ubuntu18/20:

sudo apt install redis-server
sudo sed -i s'/supervised no/supervised systemd/' /etc/redis/redis.conf
sudo systemctl restart redis.service

Run

export FLASK_APP=app.py
flask run