Run Praise locally
Prerequisites:
node
nvm
yarn
docker
Step 1 β Switch to specified node versionβ
nvm use
Step 2 β Install dependenciesβ
yarn set version berry
yarn
Step 3 β Create Discord Botβ
The Discord bot used to interact with Praise is created in the Discord developer dashboard. Take note of the various bot ids during bot creation as they will be used in the next step.
Step 4 β Configure environmentβ
Run the Praise setup script to configure the runtime environment:
bash setup.sh
Step 5 β Start MongoDBβ
Run mongo:
yarn mongodb:start
Step 6 β Build and start api backendβ
Api, discord-bot and frontend can also be started from the Visual Studio Code Launch menu.
yarn workspace api build
yarn workspace api start
Step 7 β Build and start Discord botβ
yarn workspace discord-bot build
yarn workspace discord-bot start
Step 8 β Build and start frontendβ
yarn workspace frontend build
yarn workspace frontend start
Done πβ
If you would like to contribute to Praise development, please see open issues and the contributor guidelines.