Skip to content
This repository was archived by the owner on Sep 19, 2018. It is now read-only.
/ coding-events Public archive

A Django app for adding EU Code Week events and showing them on a map.

License

Notifications You must be signed in to change notification settings

codeeu/coding-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9e34a93 · Jul 13, 2018
Jan 31, 2017
Oct 6, 2017
Sep 26, 2017
Mar 12, 2014
Nov 13, 2015
Mar 12, 2014
Nov 24, 2015
Sep 28, 2015
Jan 31, 2017
Aug 3, 2017
Nov 10, 2015
Sep 26, 2017
Sep 12, 2016
Aug 6, 2014
Nov 10, 2015
Aug 24, 2014
May 5, 2015
Nov 13, 2015
Sep 28, 2015
Aug 18, 2014
Jul 13, 2018
Nov 10, 2015
Jul 13, 2018

Repository files navigation

![Gitter](https://badges.gitter.im/Join Chat.svg)

Build Status

Coverage Status

events.codeweek.eu

This is an app that let's you add Code Week events and displays them on a map.

Contributing

Fork this repository, and clone it to your local machine (of course, use your own username instead of {username}):

git clone https://github.com/{username}/coding-events.git
cd coding-events

Install things in virtualenv.

Install requirements (first time):

pip install -r requirements.txt

On a Mac use Homebrew to install geoip:

brew install geoip

You'll also need saas, which is a ruby package that you need to have installed, so you can install it using:

gem install sass

It may also be necessary to add the sass binary to your PATH:

export PATH=$PATH:$HOME/.gem/ruby/2.2.0/bin

To collect the static files required for the rendering of the web pages:

./manage.py collectstatic
./manage.py compress --force

Create new user and environment:

./manage.py setupdb

Make your changes, push to your fork and create a new Pull Request.

Make sure all tests are passing before you push. There is a shorthand for running the tests locally:

./run-tests

On caching in development

You may need to turn off page caching in development by adding this in the codeweekeu/settings_local.py file:

CACHES = {
    'default': {
        'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
    }
}

(Thanks!).

Production Install

See docker/_install.sh.

There is also an example crontab file in docker/crontab.example.

Bugs

Please open an issue.