Skip to content
This repository

Website for the NCSU Linux User Group

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lug_blog
Octocat-spinner-32 lug_fortune
Octocat-spinner-32 lug_markup
Octocat-spinner-32 lug_people
Octocat-spinner-32 lug_site
Octocat-spinner-32 lug_twitter
Octocat-spinner-32 lug_wiki
Octocat-spinner-32 swatchmaker
Octocat-spinner-32 .gitignore
Octocat-spinner-32 COPYING
Octocat-spinner-32 README.md
Octocat-spinner-32 manage.py
Octocat-spinner-32 requirements.txt
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.