Skip to Content

Introduction for Techs

Candle is an ASP.NET web app running on a built-in web server. (Kestrel) This article applies to local installs only.

On installation, two services are created to run Candle. The Candle Database Cluster, and the Candle Webserver.


The Web Server

By default, the server is configured to run http on port 80 on localhost. This can be configured in appconfig file. By default, it does not listen on all local IP addresses. The server must be restarted after changing config files.

We recommend using Nginx or Caddy if SSL is needed.


PostgreSQL Database

The installer also installs a custom PostgreSQL database server. This is configured to listen on port 5001. The default credentials are:

Username: candleapi

Password: candleadmin

To access the database on a local install, open cmd prompt, then:

"C:\The Teacher's Trading Post\Candle\PostgreSQL\bin\psql.exe" -U candleapi -p 5001

The password is candleadmin.