Skip to content
This repository has been archived by the owner on Dec 20, 2022. It is now read-only.

correctiv/correctiv-nursinghomes

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Correctiv Nursing Home Platform

Django / Django CMS App powering our “Wegweiser Pflege” news app.

Installation

Clone and install via

pip install -e .

Add correctiv_nursinghomes to your INSTALLED_APPS, then hook the urls.py with a 'nursinghomes' namespace or add the CMS App into your CMS page tree.

Templates are made to work within our correctiv.org environment:

  • a CMS_TEMPLATE variable is used as a base template location
  • django-sekizai is used to add css / js
  • a number_utils template tag is used

You might need to overwrite them, if you want to run this project in a different environment.

Configuration

correctiv_nursinghomes requires a PostgreSQL database with Vector Field support.

Load in data and don't forget to run:

./manage.py update_search_field correctiv_nursinghomes

Client-side code

Use NPM to install client-side dependencies:

npm install

During development, use Gulp for transpiling CSS and JavaScript, and running a livereload server:

gulp

Use the deploy task to create minified CSS and JavaScript bundles:

gulp deploy

About

This news app makes data from the official inspection reports of 13,000 German nursing homes available to the public.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published