Skip to content

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

alainvd/coding-events

 
 

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 33.3%
  • CSS 32.8%
  • JavaScript 19.4%
  • HTML 13.8%
  • Shell 0.5%
  • TeX 0.2%