Source

pycon_de_website /

Filename Size Date modified Message
fixtures
pyconde
17 B
107 B
140 B
1.7 KB
2.8 KB
48 B
741 B
145 B
57 B

Installation

First you have to clone this repository and all its submodules:

git clone git@bitbucket.org:PySV/pycon_de_website.git
cd pycon_de_website
git submodule init

Next create a virtualenv and install all the requirments into it. In this example we are using virtualenvwrapper to manage the virtualenv:

mkvirtualenv pyconde_website
workon pyconde_website
pip install -r requirements.txt

Now that this is complete, prepare the settings:

cd pyconde
cp settings.py.dist settings.py

Everything should be in place now to initialize the database. By default (as seen in the settings.py.dist file) this is located in the local_database.db file right next to the manage.py:

python manage.py syncdb --noinput --migrate

For PyCONDE we have prepared a bunch of fixtures that provide some basic conference data:

python manage.py loaddata ../fixtures/conference-setup.json
python manage.py loaddata tickets2012
python manage.py loaddata pyconde2012-tracks.json

After this is done, you should already have a working site, but it is still empty. To change that we have to create an admin user in order to gain access to the admin panel:

python manage.py createsuperuser

This will prompt a couple of questions you have to fill out. After this is complete, start the development-server on port 8000 with:

python manage.py runserver 8000

As a final step you have to create a frontpage in the via http://localhost:8000/admin/cms/page/add/.

Deployment

live: fab -c live.ini upgrade staging: fab -c staging.ini upgrade

Symposion

Parts of this project are based on work by the Symposion/Pinax team. Apps originating in Symposion are:

  • conference
  • sponsorship
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.