Added instructions and better setup for contributions

This commit is contained in:
Dries Augustyns
2024-07-31 18:21:39 +02:00
parent 9e21f2fec4
commit bf56034931
6 changed files with 46 additions and 8 deletions
+23
View File
@@ -0,0 +1,23 @@
# Contributing
You can greatly support Plunk by contributing to this repository.
Support can be asked in the `#contributions` channel of the [Plunk Discord server](https://useplunk.com/discord)
### 1. Requirements
- Docker needs to be [installed](https://docs.docker.com/engine/install/) on your system.
### 2. Set your environment variables
- Copy the `.env.example` files in the `api`, `dashboard` and `prisma` folder to `.env` in their respective folders.
### 3. Start resources
- Run `yarn services:up` to start a local database and a local redis server.
- Run `yarn migrate` to apply the migrations to the database.
- Run `yarn build:shared` to build the shared package.
- Run `yarn dev:api` to start the API server.
- Run `yarn dev:dashboard` to start the dashboard server.