Skip to main content

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.