Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fragdenstaat_at
frontend
.babelrc
.dockerignore
.eslintignore
.eslintrc.json
.gitignore
Dockerfile
Dockerfile.fragdenstaat_at-baseimage
Dockerfile.fragdenstaat_at-elasticsearch
Makefile
Procfile
Procfile.dev
README
TODO.txt
devsetup.sh
docker-compose.yml
manage.py
package-lock.json
package.json
requirements-dev.txt
requirements-production.txt
requirements.txt
setup.py
tsconfig.json
webpack.config.js
yarn.lock

README

# FragDenStaat.at

This repository contains the theming for
[FragDenStaat.at](https://fragdenstaat.at) - the Austrian instance of [Froide](https://github.com/okfde/froide).

It's based on the [German version](https://github.com/okfde/fragdenstaat_de).


## Development environment

FragDenStaat.at is a Django app with a PostgreSQL+PostGIS database and Elasticsearch.
[There is a production deployment ansible configuration for details.](https://github.com/okfde/fragdenstaat.de-ansible).
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](https://www.docker.com/community-edition) and [docker-compose](https://docs.docker.com/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 AGPL License.

Some folders contain an attributions.txt with more information about the copyright holders for files in this specific folder.
You can’t perform that action at this time.