forked from Khady/obiwan-kanbanobi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINSTALL
43 lines (26 loc) · 947 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
For init the database, add the following line in /etc/postgresql/<maybe sub-dir>/pg_hba.conf:
local kanban kanban password
Reload postgresql with:
/etc/init.d/postgresql restart
And just execute initdb.sh with the user postgres :
sudo -i -u postgres
cd /path/to/project
./initdb.sh
exit
Client side:
First, install the Python development package and the libevent package :
# apt-get install libevent-dev
# apt-get install python-dev
Before launch main.py, you must have Flask, Flask-SQLAlchemy, Flask-WTF on your system,
on GNU/linux, you can use pip to get these packages:
# pip install Flask
# pip install Flask-SQLAlchemy
# pip install Flask-WTF
# pip install redis
# pip install gevent
# pip install gunicorn
# pip install protobuf
and install redis-server and. If you are on ubuntu/debian:
# apt-get install redis-server
and use this commande line at the root of the webapp:
$ gunicorn --debug --worker-class=gevent main:app