Deploying the Frontend
This guide will walk you through deploying changes to the Vollie Fly.io application, which is split into frontend and backend components.
Prerequisites
- A Fly.io account with access to the existing apps configured for Vollie frontend and backend.
- The Fly CLI (
flyctl) installed and configured with your Fly.io account. Refer to the Fly documentation for installation instructions: https://fly.io/docs/flyctl/install/ - The git repository locally downloaded
Deployment Process
Important Note:
- These commands should only be run from the
frontenddirectory of your code repository. Theflyctlcommand uses thefly.tomlfile in the current directory to determine the application and configuration for deployment.
Steps:
- Navigate to the frontend directory:
cd frontend - Verify Fly Login:
If not logged in, use:
fly auth whoamifly auth login - Deploy the Frontend:
fly deploy
Ensure the deployment is monitored within the application on fly.io to ensure no failures occurred after deployment.