emacsconf / emacsconf-site

New site woo

Your Name:   9c1e491c6b change hellokitty urls to emacsconf2015 2 years ago
lug_events 7ca59148f8 initial changes 2 years ago
lug_fortune 8cda41c152 beautified front page markup 4 years ago
lug_markup cbb5a44dcb add pretty tables to wiki markup (fixes #9) 2 years ago
lug_people 7ca59148f8 initial changes 2 years ago
lug_site 9c1e491c6b change hellokitty urls to emacsconf2015 2 years ago
lug_twitter 736b9d8533 added caching for Twitter feed 4 years ago
lug_wiki 9057e71a07 add pretty 403, 404, and 500 handlers (fixes #1) 2 years ago
swatchmaker c7276dce0e added a member directory 4 years ago
.gitignore c42d74565b created the project skeleton 4 years ago
COPYING ab2596d870 Added GNU GPL v3, the license we decided on in our meeting. 4 years ago
README.md 9483c328f5 update readme 2 years ago
manage.py c42d74565b created the project skeleton 4 years ago
requirements.txt cfa9de6a9b freeze our package versions 2 years ago

README.md

EmacsConf Site

Prerequisites

  • python >= 2.5
  • pip
  • virtualenv
  • A database

Getting Set Up

First, clone the code from Git and cd into the directory.

Creating the environment

Create a virtual Python environment for the project.

$ virtualenv --no-site-packages --distribute env
$ source env/bin/activate

Install requirements

Install all the packages you'll need for the site.

$ pip install -r requirements.txt

Configure project

Edit the local settings file for your environment.
(This file will not be checked in to the git repository.)

$ cp lug_site/__local_settings.py lug_site/local_settings.py
$ $EDITOR lug_site/local_settings.py

Sync database

Create all the database tables etcetera.

$ python manage.py syncdb

Running a development server

Now, to actually see the site:

$ python manage.py runserver

Open http://localhost:8000/ in your browser.
Congratulations! You have an EmacsConf Website!

Deployment

(internal)
run:
$ uwsgi --socket mysite.sock --module lug_site.wsgi --chmod-socket=666