Deploy from Source
Clone the source code from https://github.com/AgoraIO/app-builder-backend
Agora App Builder uses a Postgresql Database.
You can downlaod postgresql 12 from https://www.postgresql.org/download/linux/
Make sure the create a database where your data will be stored. You can follow the documentation for that here
Get the connection string like shown here and set it as the following environment variable: DATABASE_URL
If you want the database migrations to be run, you will need to setup the following environment variable
go build -o ./server ./cmd/video_conferencing
You can run the binary by just doing
Since, the dependencies are statically linked, you can deploy just the binary to the server. However, you have to make sure to keep the config.json in the same directory.