Giter VIP home page Giter VIP logo

openparty's Introduction

Build Status Build Status

OpenParty (Unconference Community website)

This repository stores the OpenParty website.

Installation

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
(openparty)$

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
cd PROJECT_FOLDER

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

openparty's People

Contributors

tin avatar cnborn avatar qingfeng avatar loddit avatar icyleaf avatar makestory avatar twinsant avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.