Django 中的 HackerNews 克隆
##Instructions 来运行这个
安装 postgres,创建 db newsdb : sudo su - postgres createdb -d newsdb -U admin ctrl + D
git clone git@github.com:dbajpeyi/hackernews-clone.git
cd hackernews-clone && pip install -r requirements.txt
bower install
cd project && python manage.py collectstatic
python manage.py migrate
python manage.py runserver - 这可能会失败,需要为 postgres uname 定义一个user.py文件,密码不
评论0
最新资源