modularni-urad-utils
v1.5.0
Published
utils for modularni-urad
Downloads
10
Readme
open-partip-server
https://sujoyu.github.io/plantuml-previewer/
API pro open-partip pro nastaveni odebiranych okruhu a pro participativni rozpocet.
SETTINGS
Pouze pomoci ENVIRONMENT VARIABLES. Ukazkovy .env soubor (pouzivame dotenv) muze vypadat takto:
PORT=30011
HOST=0.0.0.0
ORIGIN_URL=http://localhost:8080
DATABASE_URL=postgres://username:secret@localhost:5432/moje_db
SESSION_SECRET=string_for_securing_session_cookies
SHARED_SECRET=string_for_securing_JWT_tokens
docker-compose
Nebo muzete vyuzit docker-compose.yml. Prislusna sekce muze vypadat takto:
INSERT INTO public.paro_call( name, submission_start, submission_end, thinking_start, voting_start, voting_end, minimum_support, allocation) VALUES ('pokus', '2020-01-01 00:00:00+00', '2020-02-01 00:00:00+00', '2020-02-10 00:00:00+00', '2020-02-20 00:00:00+00', '2020-02-22 00:00:00+00' 3, 2000000);