Skip to content
Casey Williams edited this page May 31, 2021 · 3 revisions

Welcome to the donarity wiki!

Installation

Prerequisites

Clone the project:

git clone https://github.com/shnupta/donarity

Navigate into the directory and install the required packages.

cd donarity
npm install

Grab the .env file (pinned in Discord) and place it in the root directory of the project (e.g. next to the package.json file). At this point you'll need to have your postgres database running. Go and edit the .env.local, at the bottom you will find DATABASE_URL. Edit this string so it matches this format but with your username (and password if when you setup postgres you made one):

postgres://YOUR-USERNAME:PASSWORD@127.0.0.1:5432/DATABASE-NAME?synchronize=true

If you didn't set a password you don't need the :PASSWORD part.

Now you should be ready to run the project. Open up a terminal and in the root of the project run:

npm run dev

This should launch a server which is accessible at localhost:3000.

Happy coding!

Clone this wiki locally