-
$ sudo git clone https://github.com/joelin109/server-api-py.git
-
$ cd server-api-py
-
$ virtualenv env
sudo python3 -m virtualenv env
-
$ source env/bin/activate
-
$ pip install -r requirements.txt
sudo python3 -m pip install -r requirements.txt
- psycopg2 需要当前系统装有Postgres
- $ python3 main.py