Skip to content
forked from lhyman/workforla

Website to help guide LA residents who want to work for the City of LA.

Notifications You must be signed in to change notification settings

stqism/workforla

 
 

Repository files navigation

workfor.la

A website for helping people find and apply for work in the City of Los Angeles. Built by the folks at Hack For LA.

Overview

This is a Django project deployed on Heroku.

Setup

The development environment is a work in progress, but here are the current steps.

Clone:

git clone git@github.com:alexchao/workforla.git

Setup Python virtualenv (install Python 3.x if you haven't already):

cd workforla/
python -m venv env

Install dependencies:

env/bin/pip install -r requirements.txt

Spin up database (requires Docker, but you could also just use a local install of MySQL):

docker-compose up
env/bin/python manage.py migrate

Preload some data:

env/bin/python manage.py loaddata categories.json
env/bin/python manage.py loaddata jobs.json

Start server:

heroku local web

If you get a gunicorn-related error starting up the server, make sure you're in your virtualenv context by running the following first:

source env/bin/activate

Tests

Run tests the standard Django way:

env/bin/python manage.py test

If you get a ValueError: Missing staticfiles manifest entry for [some asset] error, run the following command then try again:

env/bin/python manage.py collectstatic

About

Website to help guide LA residents who want to work for the City of LA.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 37.3%
  • HTML 32.7%
  • CSS 29.2%
  • Other 0.8%