Skip to content

okfn-brasil/perfil-politico-frontend

Repository files navigation

Perfil Político

Front-end for Perfil Político — a platform for profiling candidates in Brazilian 2022 General Election, based entirely on open data.

Prerequisites

You can use nvm to manage multiple installations of node.js on your computer (check nvm instalattion guides for MacOS and Linux here and for Windows here).

Once you have it, you can use the right node version for the project using these commands:

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

It will make your website available here: localhost:8080

Compiles and minifies for production

npm run build

Then serve the contents of the dist/ directory.

Run your unit tests

npm run test:unit

Lints and fixes files

npm run lint