Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Latest commit

 

History

History
85 lines (54 loc) · 4.25 KB

README.md

File metadata and controls

85 lines (54 loc) · 4.25 KB

License: AGPLv3 Codacy Badge

Raads Informatie Portaal (RIS) - frontend


NL | Het Raads informatie Portaal (RIS) levert open-source software voor Nederlandse Gemeente om alle besluiten die door de raad worden genomen te volgen. Nederlandse griffies kunnen gebruik maken van de de online agenda om vergaderingen te organiseren. Burgers kunnen alle besluiten en agende punten volgen en inloggen om zo hun eigen dossier aan te maken en te volgen. Raadsdocumenten kunnen worden ontsloten en via de zoekmachine zijn deze voor iederen vindbaar en inzichtelijk. Alle data welke reeds is ontsloten via Ibabs of Notubiz wordt automatisch ingelezen. RIS is een iniatief van de Gemeente Almere. Je hebt de RIS-Backend nodig om deze front-end te laten werken.

UK | The local council information Portal (RIS) is open-source software that can be used by Dutch municipalities to track decisions made by the council. Registrars to the dutch municipalities ('griffie') are able to setup agenda's for the council. Civil society is able to track all information published by the municipality and is able to create Dossiers to track specific subjects handled by the municipality. All files published by the municipality are indexed and made available using a search engine. RIS is an iniative by the municipality of Almere. You must install the RIS-Backend in order to make this front-end operational.

About the project


Requirements


Name Recommended version
Node latest
NPM or Yarn latest

Install dependencies


From the root folder:

npm install or yarn install

Configuration


Change municipality

In src/config.js there is a variable called muni

Adjust the variable's value with one of these options Almere

In src/styles/variables.scss there is a variable called $municipality

Adjust the variable's value with one of these options Almere

Run


For development:

npm start or yarn start

App should be running on http://localhost:3000/

Build


For production build:

npm run build or yarn build

Build files should be in build

Running the tests


To run the tests you need to edit the cypress.json file in the repo's root directory.

Adjust the following variables:

  • baseUrl - the url where the project runs at
  • username - admin username
  • password - admin password
  • backendUrl - the back-end url the project is using
  • searchKeyword - a keyword to test search functionality with
  • deleteUsername - validated test user's username
  • deletePassword - validated test user's password
  • deleteUsername2 - new test username (for editing)
  • deletePassword2 - new test password (for editing)

Then run npm cypress:open or yarn cypress:open