Public Repository

Last pushed: 2 years ago
Short Description
The CCDC's Django applications for the California Secretary of State’s CAL-ACCESS database
Full Description

ccdc/django-calaccess

A standalone Docker stack serving the California Civic Data Coalition's applications for analyzing the California Secretary of State’s CAL-ACCESS database. Source code hosted at GitHub.

Layers

Settings

The following environmental options must be configured at runtime when initializing a new container.

  • MYSQL_DATABASE: The name of the MySQL database
  • MYSQL_USER: The MySQL database user's name
  • MYSQL_PASSWORD: The password for the MySQL user
  • DJANGO_USER: The name of the Django admin super user
  • DJANGO_EMAIL: The email of the Django admin super user
  • DJANGO_PASSWORD: The password of the Django admin super user

Getting started

Download the latest release of the image.

$ sudo docker pull ccdc/django-calaccess:0.6

Create a new container based on the image.

$ sudo docker run \
-p 127.0.0.1:80:80 \
--name test-calaccess \
-e MYSQL_DATABASE=calaccess \
-e MYSQL_USER=ccdc \
-e MYSQL_PASSWORD=mycrazypassword \
-e DJANGO_USER=admin \
-e DJANGO_EMAIL=foo@bar.com \
-e DJANGO_PASSWORD=mydjangopassword \
-d ccdc/django-calaccess:0.6

Visit http://localhost in your browser to see the stack in action.

Docker Pull Command
Owner
ccdc