Skip to content

liamchzh/AtBIT

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

#「人在北理

1.安装MySQL,virtualenv,pip

2.激活虚拟环境(virturalenv)

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

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

git clone git@github.com: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则为密码

有疑问随时联系liamchzh@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages