Fly.io
Simple deployment with an easy-to-use platform.
Deploying Medama on Fly.io is a straightforward process that can be accomplished with just a few steps.
Setup
Install Fly CLI
Visit the Fly CLI installation page to install the Fly CLI on your local machine.
Login or Sign Up
If you don’t have an account, create one. If you already have an account, log in with your credentials.
Create Directory
Create a new directory on your local machine and navigate to it. For example:
This is where you will store the fly.toml
configuration file.
Launch Application
Run the following command to deploy the application:
This command will clone the repository into the current directory and deploy the application to Fly.io. You will be prompted to configure various application settings such as the name, region, and VM size.
Add Your First Website
Success! You can now add your first website to the analytics instance by visiting the web interface at http://localhost:8080
or the publicly accessible hostname for your deployment.
The default login credentials are:
- Username:
admin
- Password:
CHANGE_ME_ON_FIRST_LOGIN
localhost
or a HTTPS
connection. Logging in via an unencrypted HTTP
connection will not work.Embed Tracking Snippet
Then, embed the following HTML tracking snippet in the <head>
element of your website to start collecting data: