diff --git a/README.md b/README.md new file mode 100644 index 0000000..5c527a2 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# Leaderboard server + +This is a basic leaderboard server for [The Peacock Project](https://thepeacockproject.org/) + +## Setup +``` +yarn install # install dependencies +yarn prisma generate +# Modify to match your postgres setup +export DATABASE_URL = $env:DATABASE_URL="postgresql://USER:PASSWORD@HOST:PORT/DATABASE" +yarn prisma migrate dev # setup the database +yarn build +node ./build/main # start the server +``` \ No newline at end of file