-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment
One can deploy the application a few ways:
One could deploy this entire application to AWS Lambda.
Once a lambda function is created using a custom runtime, we're going to provide a bootstrap binary, Use the provided deploy script
which builds the server as a binary for the ARM architecture and uploads it to AWS.
If your AWS Lambda function is for x86, you'll have to change the GOOS variable in the deployment script.
AWS credentials will have to be in your $PATH for this to work.
under construction
Using the README, one can build the binary and run it manually or with an init script, like a systemd service, to run it continuously. To run the binary, one would need:
- binary build with Go
- the Static directory
- the templates directory
It's encouraged to put this application behind a reverse proxy like Nginx which handles the TLS termination