This repository has been archived by the owner on Apr 15, 2018. It is now read-only.
forked from pythoncn/june
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better README, removed unused dependencies
- Loading branch information
Showing
4 changed files
with
36 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,4 @@ data/ | |
etc/ | ||
|
||
june/_static/sea-modules/ | ||
venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
June | ||
===== | ||
|
||
This is a forum project. | ||
|
||
Before start: | ||
------------- | ||
|
||
Make sure you have python2.7, pip and virtualenv installed. | ||
|
||
Development | ||
----------- | ||
|
||
To start development server: | ||
|
||
$ git checkout https://github.com/ekzhu/june.git | ||
$ cd june | ||
$ virtualenv --distribute venv | ||
$ source venv/bin/activate | ||
(venv)$ pip install -r conf/reqs-dev.txt | ||
(venv)$ python manager.py creatdb | ||
(venv)$ python manager.py runserver | ||
|
||
It should be running at localhost:5000. | ||
|
||
Trouble shooting | ||
---------------- | ||
|
||
If you encounter build failure when trying to install gevent and get error saying "event.h" not found. You need to install libevent before installing gevent again. | ||
|
||
On Mac OS X with homebrew, you can simply do: | ||
|
||
brew install libevent |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters