a web site for beijing-open-party IT unconference.
Python HTML CSS Other
Switch branches/tags
Nothing to show
Latest commit 1c1aa5a Mar 15, 2017 @Tin Tin Merge pull request #68 from openparty/feat-migrate-domain
feat: change domain from beijing-open-party.org to beijing-open-party…
Failed to load latest commit information.
apps 把Client改為self.client Jun 30, 2014
deployment Add site-restart script into our codebase. Now our deployment process… Mar 12, 2013
media Removed the disc in default list-style. Jun 20, 2014
templates feat: change domain from beijing-open-party.org to beijing-open-party… Mar 14, 2017
vendor 服务器上需要使用绝对路径引用sendmail,进行了fallback Aug 25, 2010
.gitignore 恢復travisci的正常運轉 May 25, 2014
.travis.yml add slack service Jun 29, 2014
CONTRIBUTING.md Update the fabfile, it should use pythonbrew and virtualenv in user p… Mar 12, 2013
README.md add requires.io badge Sep 27, 2014
__init__.py 创建了openparty django项目的目录结构 Jan 28, 2010
conftest.py 把測試切換到py.test,並根據結果修正一些BUG Jun 24, 2014
fabfile.py feat: change domain from beijing-open-party.org to beijing-open-party… Mar 14, 2017
init_db.sql Fix: local databases settings bug; Add: init database sql for project Sep 13, 2010
local_settings.py.sample remove deprecating warning for db engine settings. Nov 28, 2010
manage.py 反正最後也得squash,先提交一次..... Jun 24, 2014
pip-log.txt 替换赞助商 May 10, 2013
requirements.txt 先用django-markup-deprecated臨時修復restructuredtext渲染的問題 Jul 13, 2014
settings.py feat: change domain from beijing-open-party.org to beijing-open-party… Mar 14, 2017
urls.py 把靜態文件的處理升級到最新的方式 Jun 24, 2014
wsgi.py 新增wsgi.py Jun 24, 2014


Build Status Build Status Requirements Status

OpenParty (Unconference Community website)

This repository stores the OpenParty website.


To get setup with OpenParty code you must have the follow installed:

  • Python 2.5+
  • MySQL
  • virtualenv 1.4.7+

Setting up environment

Create a virtual environment where dependencies will live:

$ virtualenv --no-site-packages openparty
$ source openparty/bin/activate

Install openparty project dependencies::

(openparty)$ pip install -r requirements.txt

Setting up the database

This will vary for production and development. By default the project is set up to run on a SQLite database. If you are setting up a production database see the Configuration section below for where to place settings and get the database running. Now you can run:

(openparty)$ python openparty_project/manage.py syncdb
(openparty)$ python openparty_project/manage.py migrate core

Running a web server

In development you should run:

(openparty)$ python manage.py runserver

Deploy it

If you are deploying on ubuntu, you may install those build dependencies.

sudo aptitude install libmysqlclient-dev libxml2-dev libxslt1-dev

Install those python libs through virtual env.

sudo easy_install -U pip
sudo pip install virtualenv
sudo mkdir /usr/local/virtualenv
cd /usr/local/virtualenv
sudo virtualenv --distribute --no-site-packages openparty
source /usr/local/virtualenv/openparty/bin/activate

sudo su -
source /usr/local/virtualenv/openparty/bin/activate
pip install -r requirements.txt