New site woo

Amin Bandali cbed19fd89 uncommitted changes from way back in 2015 4 weeks ago
lug_events 7ca59148f8 initial changes 3 years ago
lug_fortune 8cda41c152 beautified front page markup 5 years ago
lug_markup cbb5a44dcb add pretty tables to wiki markup (fixes #9) 3 years ago
lug_people 7ca59148f8 initial changes 3 years ago
lug_site cbed19fd89 uncommitted changes from way back in 2015 4 weeks ago
lug_twitter 736b9d8533 added caching for Twitter feed 5 years ago
lug_wiki 9057e71a07 add pretty 403, 404, and 500 handlers (fixes #1) 3 years ago
swatchmaker c7276dce0e added a member directory 5 years ago
.gitignore c42d74565b created the project skeleton 6 years ago
COPYING ab2596d870 Added GNU GPL v3, the license we decided on in our meeting. 5 years ago
README.md 9483c328f5 update readme 3 years ago
manage.py c42d74565b created the project skeleton 6 years ago
requirements.txt cfa9de6a9b freeze our package versions 3 years ago
start_site.sh cbed19fd89 uncommitted changes from way back in 2015 4 weeks 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