Skip to main content

How to install Praise on Digital Ocean

The installation process requires only basic server knowledge and takes about 30 minutes. We have verified the installation on Digital Ocean but should with little or no modifications work on any Ubuntu server.

Step 1 – Create a Droplet​

When writing this guide we used the following Droplet config:

  • Ubuntu 20.04 (LTS) x64
  • 80 GB disk
  • 4 GB memory

Praise might well run on a smaller setup as well, that is yet to be determined though.

Step 2 – Configure a hostname​

The webserver hosting the Praise dashboard automatically generates https certificates and therefore needs be configured with a hostname. Configure an A RECORD at your DNS provider that points to the Droplet IP.

For example, the Commons Stack Praise DNS setup:

TYPEDOMAIN NAMEIPTTL
Apraise.commonsstack.org167.172.63.12530 min

Step 3 – Use ssh to access Droplet​

ssh root@xxx.xxx.xxx.xxx

This guide installs Praise under the root user, making no effort to secure the server. The following steps are optional but highly recommended:

Step 4 – Install Docker​

The Praise database runs on MongoDB, managed by Docker.

Complete step 1-2 of the installation guide: How To Install and Use Docker on Ubuntu 20.04

  • Step 1 β€” Installing Docker
  • Step 2 β€” Executing the Docker Command Without Sudo
info

If ou are using ufw as firewall, additional configuration of Docker is needed.

Step 5 – Install Docker Compose​

Docker compose is utility for configuring and running Docker containers. Praise requires docker compose v2 to be installed.

Complete step 1 in the installation guide: How To Install and Use Docker Compose on Ubuntu

  • Step 1 β€” Installing Docker Compose

Step 6 – Pull Praise repository from GitHub​

Clone the Praise repository from GitHub:

git clone https://github.com/CommonsBuild/praise.git

Step 7 – Create a 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 8 – Configure environment​

Run the Praise setup script to configure the runtime environment:

cd praise
bash setup.sh

Step 9 – Start Praise​

bash start.sh

Finished πŸŽ‰β€‹

Your praise system should be up and running!