Giter Site home page Giter Site logo

malemburg / epcon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from europython/epcon

0.0 2.0 0.0 189.4 MB

EuroPython Conference Website

License: BSD 2-Clause "Simplified" License

Ruby 0.02% Shell 0.02% Python 10.91% HTML 18.44% CSS 40.60% JavaScript 29.89% XSLT 0.04% Makefile 0.03% PHP 0.04% ASP 0.01%

epcon's Introduction

Documentation Status

README

This project (and its dependencies) contains the EuroPython website source code.

The code is used for the EuroPython 2016 website.

LICENSE

As a general rule, the whole website code is copyrighted by the Python Italia non-profit association, and released under the 2-clause BSD license (see LICENSE.bsd).

Some CSS files (within directories p3/static/p4/s and p3/static/p5/s) are instead explicitly marked as non-free; those files implement the current EuroPython website design and Python Italia wants to keep full rights on it. They are still published on GitHub as a reference for implementing a new design.

You are thus welcome to fork away and reuse/enhance this project, as long as you use it to publish a website with a new design (without reusing the current EuroPython design).

INSTALL

Project dependencies are stored in the file requirements.txt and can be installed using pip.

Although not required the use virtualenv is highly recommended.

virtualenv pycon-env
source pycon-env/bin/activate
pip install -r requirements.txt

SETUP

When the install completes you must setup your pycon installation.

cp pycon/settings_locale.py.in pycon/settings_locale.py

Edit pycon/settings_locale.py to your taste!

The next step is the database setup; the pycon site uses sqlite so the only needed thing is to create the directory where the db will be placed.

mkdir -p data/site
python manage.py syncdb
python manage.py migrate

RUN

python manage.py runserver

RUN IN DEBUG MODE

DEBUG=True python manage.py runserver

INITIAL DATABASE SETTINGS

The first thing you need to do is add 4 pages with the following ids:

  • HOME (advanced settings->id:home)
  • CONTACTS (advanced settings->id:contacts, template: content)
  • PRIVACY (advanced settings->id:privacy, template: content page, single column)
  • CONDUCT-CODE (advanced settings->id:conduct-code)
  • STAFF (advanced settings->id:staff)

If you don't do that you'll start to see some errors like broken url reference. NOTE: You may need to restart the server after adding the pages to let the system detect them.

Next, you will have to create a conference record under /admin/conference/conference/. The links on this conference record also allow setting up the schedule and checking attendee statistics.

The shopping cart system has support for hotel bookings. In order to get the cart working without errors, you have to create a conference record under /admin/p3/hotelbooking/.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.