Froide Theme for fragdenstaat.de
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
fragdenstaat_de
frontend
.babelrc
.dockerignore
.eslintignore
.eslintrc.json
.gitignore
Dockerfile
LICENSE.txt
MANIFEST.in
Makefile
Pipfile
Pipfile.lock
Procfile
Procfile.dev
README.md
devsetup.sh
docker-compose.yml
manage.py
package-lock.json
package.json
requirements-dev.txt
requirements-production.txt
requirements.txt
setup.cfg
setup.py
webpack.config.js
yarn.lock

README.md

FragDenStaat.de

This repository contains the theming for FragDenStaat.de - the German instance of Froide.

Development environment

FragDenStaat.de is a Django app with a PostgreSQL+PostGIS database and elasticsearch 2.4.6. There is a production deployment ansible configuration for details.. If you want an easy start, please use the below instructions with Docker (note that this is for convenience and that the actual deployment does not use Docker at the moment).

If you do not want to use Docker, you can install this like any Django project with dependencies and services.

Docker setup

You need docker and docker-compose. Make sure Docker is running and use the following command:

make all

This will download the necessary docker images and build a docker image and start a python web server and a webpack watch server for building JS/CSS (includes live reload). The current directory is mounted inside the container, changes to templates are picked up and the frontend files should be rebuild.

The following make targets are available:

  • make setup - updates local froide source and builds docker image
  • make services - starts services in the background
  • make migrate - runs database migrations
  • make stop - stops all services
  • make build - build frontend files for production and commit
  • make shell - opens shell in web app container

License

Froide and fragdenstaat_de are licensed under the MIT License.

Some folders contain an attributions.txt with more information about the copyright holders for files in this specific folder.