Skip to content
This repository has been archived by the owner on Jul 31, 2021. It is now read-only.
/ djangocon.us Public archive
forked from eldarion/djangocon.us

website for DjangoCon.us

Notifications You must be signed in to change notification settings

imagescape/djangocon.us

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DjangoCon US website

This repository stores the DjangoCon US website by Imaginary Landscape, built on Symposion by Eldarion. This project is open source and the license can be found in LICENSE.

Installation

To get setup with djangcon code you must have the follow installed:

  • Python 2.6+
  • virtualenv 1.4.7+
  • C compiler (for PIL)

Node and Less

This project uses django-compressor with less which requires nodejs and lessc are installed.

Check node and lessc version:

node -v & lessc -v

Installing Node.js:

wget http://nodejs.org/dist/v0.9.0/node-v0.9.0.tar.gz

tar xfvz node-xx.tar.gz
cd node-xx

./configure
make
make install

Installing lesscss:

wget --no-check-certificate https://github.com/cloudhead/less.js/tarball/master

tar xfvz master
mv cloudhead-less.js-version  /usr/local/lesscss

cd /usr/local/bin/
ln -s ../lesscss/bin/lessc

Setting up environment

Create a virtual environment where djangocon dependencies will live:

$ virtualenv --no-site-packages djangocon
$ source djangocon/bin/activate
(djangocon)$

Make the project directory your working directory:

$ cd djangocon_project

Install djangocon project dependencies:

(djangocon)$ pip install -r requirements/project.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:

(djangocon)$ python manage.py syncdb

Running a web server

In development you should run:

(djangocon)$ python manage.py runserver

For production, this project comes with a WSGI entry point located in deploy/wsgi.py and can be referenced by gunicorn with deploy.wsgi:application.

Configuration

You can create a local_settings.py file alongside settings.py to override any setting that may be environment/instance specific. This file is ignored in .gitignore.

Data configuration

Create a proposal type (@@@ change once upgraded to newer symposion):

>>> from symposion.proposals.models import ProposalKind
>>> ProposalKind.objects.create(name="Test")

About

website for DjangoCon.us

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 86.3%
  • Python 7.7%
  • JavaScript 4.4%
  • Shell 1.3%
  • Other 0.3%