Skip to content

jsangmeister/openslides.com

 
 

Repository files navigation

Openslides

This is the repository of the official OpenSlides website.

Development server

Run npm start for a dev server. Navigate to http://localhost:4201/. The app will automatically reload if you change any of the source files.

To start the server which is responsible for handling the orders and newsletter registrations, change to the directory api and run flask run. For a development server with auto-reload, run export FLASK_ENV=development beforehand.

Uploading translations

For easier translation handling, you have to have the transifex client installed (either from the requirements-development.txt or manually). Make sure you exported your API token as described in https://docs.transifex.com/client/init#before-running-tx-init.

After you made some changes to the website, run ./scripts/extract-translations.sh to update the template-de.pot file. Then, upload the file with tx push --source. You can now edit the translations as usual on transifex.

When you are finished, just run tx pull --all and then ./scripts/compile-translations.sh to generate the JSON/MO files.

About

OpenSlides 3 Website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 51.1%
  • TypeScript 29.2%
  • SCSS 9.9%
  • Python 6.6%
  • Jinja 1.4%
  • Shell 1.0%
  • Other 0.8%