轻量级django 笔记 第四章 构建 REST API
git clone https://github.com/lightweightdjango/examples.git
git status
git branch -a
git checkout remotes/origin/chapter-4
pip install djangorestframework3.1.3
pip install django-filter0.10.0
pip install Markdown==2.6.2
pg_config executable not found
https://stackoverflow.com/questions/11618898/pg-config-executable-not-found
sudo apt install postgresql
sudo apt install postgresql-client-common
sudo apt-get install postgresql-client
sudo apt-get install libpq-dev python-dev
linux Ubuntu 16.04安装 postgresql
https://blog.youkuaiyun.com/q954103/article/details/96474372
sudo /etc/init.d/postgresql restart
\q 退出
ubuntu下postgreSQL9.6安装配置
https://blog.youkuaiyun.com/zj0078/article/details/71156064
psql 密码 是123abc
jack的密码是 123abc
PostgreSQL新手入门
http://www.ruanyifeng.com/blog/2013/12/getting_started_with_postgresql.html
sudo -u postgres createuser --superuser jack
sudo -u postgres psql
123abc
sudo /etc/init.d/postgresql restart
pip install psycopg2==2.6.1
createdb -E UTF-8 scrum