Skip to content

Simplified content management back end for the Integreat App - a multilingual information platform for newcomers

License

Notifications You must be signed in to change notification settings

nkclemson/integreat-cms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CircleCI Pylint Coverage PyPi Release Notes License Code style: black

Integreat Django CMS

Logo Integreat - The mobile guide for newcomers. Multilingual. Offline. Open Source.

This content management system helps local integration experts to provide multilingual information for newcomers.

TL;DR

Prerequisites

Following packages are required before installing the project (install them with your package manager):

  • npm version 7 or later
  • nodejs version 18 or later
  • python3 version 3.11 or later
  • python3-pip (Debian-based distributions) / python-pip (Arch-based distributions)
  • python3-venv (only on Debian-based distributions)
  • gettext to use the translation features
  • Either postgresql or docker to run a local database server

Installation

git clone git@github.com:digitalfabrik/integreat-cms.git
cd integreat-cms
./tools/install.sh

Run development server

./tools/run.sh
  • Go to your browser and open the URL http://localhost:8000
  • Default user is "root" with password "root1234".

Documentation

For detailed instructions, tutorials and the source code reference have a look at our great documentation:

📓 https://digitalfabrik.github.io/integreat-cms/

Alternatively, you can generate it yourself using the tools/make_docs.sh script.

Project Architecture / Reference

  • Integreat CMS: The main package of the integreat-cms with the following sub-packages:
    • API: This app provides wrapper functions around all API routes and classes mapping the cms models to API JSON responses.
    • CMS: This app contains all database models, views, forms and templates forming the content management system for backend users.
    • Core: This is the project’s main app which contains all configuration files.
    • Firebase API: This app provides wrapper functions around the Firebase API to send push notifications.
    • GVZ API: This app provides wrapper functions around our Gemeindeverzeichnis API to automatically import coordinates and region aliases.
    • Nominatim API: This app provides wrapper functions around our Nominatim API to automatically import region bounding boxes.
    • Sitemap: This app dynamically generates a sitemap.xml for the webapp.
    • SUMM.AI API: This app provides wrapper functions around the SUMM.AI API for automatic translations into Easy German.
    • XLIFF: This app allows (de-)serialization of translations from/to XLIFF (XML Localization Interchange File Format) for standardised exchange with translation agencies.
  • Tests: This app contains all tests to verify integreat-cms works as intended

To better understand the overall intention it might also be helpful to look at the wiki for municipalities (GER) that teaches how to use our CMS.

License

Copyright © 2018 Tür an Tür - Digitalfabrik gGmbH and individual contributors. All rights reserved.

This project is licensed under the Apache 2.0 License, see LICENSE and NOTICE.md.

About

Simplified content management back end for the Integreat App - a multilingual information platform for newcomers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 65.1%
  • HTML 20.7%
  • TypeScript 10.2%
  • Shell 2.0%
  • JavaScript 1.1%
  • CSS 0.5%
  • SCSS 0.4%