Skip to content
This repository has been archived by the owner on Oct 12, 2021. It is now read-only.

A Chef cookbook and Fabfile for deploying the California Civic Data Coalition's applications for analyzing the California Secretary of State’s CAL-ACCESS database on Amazon Web Services

palewire/django-calaccess-cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-calaccess-cookbook

A Chef cookbook and Fabfile for deploying the California Civic Data Coalition's applications for analyzing the California Secretary of State’s CAL-ACCESS database on Amazon Web Services

Prerequisites

  • Python 2.7
  • virtualenv
  • git

Getting started

Create a virtualenv.

$ virtualenv django-calaccess-cookbook

Jump in it.

$ cd django-calaccess-cookbook
$ . bin/activate

Clone this repository.

$ git clone https://github.com/california-civic-data-coalition/django-calaccess-cookbook.git repo

Jump in it and install the Python requirements.

$ cd repo
$ pip install -r requirements.txt

Starting a server on Amazon EC2

Before you can spin up a server, you will an account with Amazon Web Services to use its EC2 service. If you don't have one already, you'll need to sign up here.

You'll also need to create an key pair and store it at ~/.ec2/. Then ensure your default security group is configured to allow SSH access on port 22 and HTTP access on port 80.

Then use Fabric to spin up a server on Amazon EC2. Before it gets started it will ask you to input your private credentials and some configuration options.

$ fab ec2bootstrap

About

A Chef cookbook and Fabfile for deploying the California Civic Data Coalition's applications for analyzing the California Secretary of State’s CAL-ACCESS database on Amazon Web Services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published