A django politician portal app. https://freedomvote.ch
Marcus Moeller 65dd4698c6 updated git repo url | %!s(int64=9) %!d(string=hai) anos | |
---|---|---|
app | %!s(int64=9) %!d(string=hai) anos | |
tools | %!s(int64=9) %!d(string=hai) anos | |
Dockerfile | %!s(int64=9) %!d(string=hai) anos | |
LICENSE | %!s(int64=9) %!d(string=hai) anos | |
Makefile | %!s(int64=9) %!d(string=hai) anos | |
README.md | %!s(int64=9) %!d(string=hai) anos | |
docker-compose.yml | %!s(int64=9) %!d(string=hai) anos | |
envpy | %!s(int64=9) %!d(string=hai) anos | |
gulpfile.js | %!s(int64=9) %!d(string=hai) anos | |
package.json | %!s(int64=9) %!d(string=hai) anos | |
requirements.txt | %!s(int64=9) %!d(string=hai) anos |
A django politician portal app
Run pip install -r requirements.txt
to install all requirements.
To run Freedomvote in a docker container, you need to install docker and docker-compose and execute those commands:
$ make docker-init docker
Now you can access the frontend on http://localhost:8000
The whole application is multilingual. Per default the languages German, Italian and French are installed.
The translation are located in app/locale/<LANG_CODE>/LC_MESSAGES/django.po. After editing the translation, run python manage.py compilemessages
To install another language (English in this example) make the following steps:
app/freedomvote/settings.py
LANGUAGES = (
...
...
('en', _('english')),
)
in your environment:
$ python manage.py makemigrations
$ python manage.py migrate
$ python manage.py makemessages -l en
$ python manage.py compilemessages
GPLv3 see LICENSE