On this page:
4.1.1 Congame Prerequisites
4.1.1.1 Preparing Postgre  SQL databases
4.1.2 Installing Congame Packages
4.1.3 Environment setup
4.1.4 Starting the server
4.1.5 Adding an admin user
4.1.6 Installing study packages
4.1.7 Clearing study caches
8.14

4.1 Installing and Setting up Congame servers🔗

Below are step-by-step instructions for installing Congame.

4.1.1 Congame Prerequisites🔗
4.1.1.1 Preparing PostgreSQL databases🔗
4.1.2 Installing Congame Packages🔗
4.1.3 Environment setup🔗

Copy ".env.default" to ".env". Chief will automatically load the variables defined in this file into the environment of the subprocesses defined in the "Procfile" whenever it is run.

The app expects to be run behind an SSL terminated connection (for example, behind an nginx instance using a self-signed cert), even for local development. You can disable this requirement by setting the CONGAME_DEBUG environment variable to x.

4.1.4 Starting the server🔗

> nvm use

> raco chief start

By default the app will listen on localhost:5100.

4.1.5 Adding an admin user🔗
4.1.6 Installing study packages🔗
4.1.7 Clearing study caches🔗