Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Website for the NCSU Linux User Group
HTML Python CSS Other
branch: master

prototype lug_events application

It has an /events/ page that lists the events, and all the database
fields I think we'll need. More fanciness is necessary though.
latest commit 08369fc463
@leafstorm leafstorm authored
Failed to load latest commit information.
lug_events prototype lug_events application
lug_fortune beautified front page markup
lug_markup add pretty tables to wiki markup (fixes #9)
lug_people
lug_site prototype lug_events application
lug_twitter added caching for Twitter feed
lug_wiki add pretty 403, 404, and 500 handlers (fixes #1)
swatchmaker added a member directory
.gitignore created the project skeleton
COPYING Added GNU GPL v3, the license we decided on in our meeting.
README.md created the project skeleton
manage.py created the project skeleton
requirements.txt freeze our package versions

README.md

NC State LUG Website

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 a LUG Website!

Something went wrong with that request. Please try again.