Bare-metal deployment#

The most straightforward way of deploying the application is on a standalone server or virtual machine. If the application has been configured as described in the previous step, it should be ready to be deployed. However, it can still be fine-tuned to suit the requirements of different deployment environments.

Logging#

By default, Atoti generates a new directory in which to write logs for each session and automatically enables log rolling to prevent log files from becoming excessively large.

Use atoti.LoggingConfig to write the logs to another place.

HTTPS#

It is a good practice to always enable HTTPS on web applications since it ensures that the communications between users and the application are secure. Signed certificates can be generated for the application using tools such as Let’s Encrypt.

Use atoti.HttpsConfig to configure the application to communicate exclusively in HTTPS.