Skip to content

liamchzh/AtBIT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c08f11b · Jan 2, 2014

History

6 Commits
Oct 27, 2013
Dec 31, 2013
Dec 31, 2013
Jan 2, 2014
Oct 27, 2013
Oct 27, 2013
Nov 27, 2013
Oct 27, 2013
Dec 30, 2013
Oct 27, 2013
Oct 27, 2013
Oct 27, 2013
Oct 27, 2013

Repository files navigation

#「人在北理

1.安装MySQL,virtualenv,pip

2.激活虚拟环境(virturalenv)

mkdir /path/to/yourproject
cd /path/to/yourproject
virtualenv --distribute venv
. venv/bin/activate

3.克隆代码并安装所要的包

git clone [email protected]:liamchzh/atbit.git  

pip install -r requirements.txt

4.导入SQL数据

数据表是atbit.sql。进入MySQL后使用source命令导入。

5.运行

按照这篇文章搭建好SAE本地环境,注意我用的tornado版本是2.4.1。需要下载官方的安装文档,修改其中的/dev_server/setup.py,然后在该目录运行python setup.py install

然后回到「人在北理」根目录运行:

python dev_server.py --mysql=username:password@localhost:3306  # username是你MySQL的用户名,一般是root,password则为密码

有疑问随时联系[email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages