This project showcases how to deploy a Latitude application to Fly.io. Fly.io is a platform that allows you to deploy your applications to a global network of virtual machines.
Follow these steps to deploy your application to Fly.io:
Run the command below to download and install the Fly.io command line tool.
curl -L https://fly.io/install.sh | shAfter installing the CLI, set up your project on Fly.io with:
fly launchDuring this process, Fly automatically recognizes the Dockerfile and Fly.io configuration included in this project. Confirm the prompted settings to proceed.
fly deployAnd that's it! Your application is now deployed to Fly.io.
For additional configuration options, refer to the Fly.io Configuration Documentation.
If the project requires the use of secret credentials you can declare them like so:
fly secrets set LATITUDE__DATABASE_PASSWORD=mypasswordThis command will make the secret available as an environment variable to the production build at runtime. Read here how to use environment variables in Latitude projects.
To find more about how to deploy Latitude to your own infrastructure, refer to the documentation.