Skip to content

Getting Started

Paninee K edited this page Feb 25, 2021 · 4 revisions

Participedia is currently in a state of flux, undergoing a major refactoring, so not all parts are likely to be working at this time. Apologies for that.

To begin, git clone this repository locally, then cd into it and run npm install to get the dependencies.

To initialize the database, install postgresql if necessary and run

createdb "participedia"
psql -d "participedia" -f setup.sql -U ${USER}
DATABASE_URL="postgres://${USER}@localhost:5432/participedia" node migrations/import_json.js
psql -d "participedia" -f migrations/all_migrations.sql -U ${USER}

If you encounter any problems, message @dethe, otherwise you can go on to Configuring Server.

Clone this wiki locally