Skip to main content

Crash Course

Buckle up, it's time to learn the basics of deploying on FL0 in less than 5 minutes.

Here's what you'll need:

  1. A FL0 account
  2. A Github account with admin permissions
  3. A motivational song to play while following these steps

Buckle up, it's FL0 time

Complete the Onboarding

Head over to the FL0 platform, create an account and complete the onboarding. The platform will guide you through:

  1. Setting up your account
  2. Creating a project

FL0 onboarding

Connecting a Repository

FL0 requires your code to live in a Git repository. When you first attempt to create an Application you'll be prompted to connect Github. We currently support Github. If you use another provider, drop us a comment below.

FL0 Github Connection

The Checklist

Regardless of the language you are deploying, there are a few things you need check before deploying on FL0.

1. Check the supported scenarios

Make sure what you're deploying will work by checking our list of supported scenarios

2. Listen to the right port

FL0 routes traffic to your app using the PORT environment variable. Your app should listen to this port.

3. Set your environment variables

If your app needs certain environment variables to run, set them up before you deploy. Otherwise your app will crash on startup.

4. Supply a Dockerfile (optional)

FL0 recommends using a Dockerfile for most control. See our Dockerfile quickstart for more information.
If you don't want to use a Dockerfile, make sure you've set up your codebase so FL0 knows how to build it. See our quickstart guides for more information.

Deploy!

Select one of your existing repos or use one of our templates and watch FL0 build and deploy it. Logs appear in realtime.

Deploying a repository

Troubleshooting Failures

If your deployment fails, don't stress! FL0 provides detailed logs to help you determine the cause.

  1. Check the Setup, build and deploy logs for any errors
  2. If your app failed at the Deploy stage, check the Application Logs for any errors produced by your application on startup
  3. If you're still stuck, ask FL0bot! FL0bot is our AI helper and can provide troubleshooting advice

Be sure to double-check the checklist on this page. Read more on the troubleshooting deployments page.

Log sidebar

Using Your Application

Once you have a successful deployment, you'll see a unique URL in the summary of your application. Use that to access your site or API.

Your unique FL0 URL

Wrapping Up

Nice work! You made it through the crash course on FL0. Be sure to check out our other tutorials to get started with your specific language!

The FL0 crash course