Skip to content

Example to deploy a Flask application on Koyeb

Notifications You must be signed in to change notification settings

bchatelard/example-flask

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example-flask

Logo

Koyeb Serverless Platform

Deploy a Flask application on Koyeb
Learn more about Koyeb · Explore the documentation · Discover our tutorials

About Koyeb and the Flask example application

Koyeb is a developer-friendly serverless platform to deploy apps globally. No-ops, servers, or infrastructure management. This repository contains a Flask application you can deploy on the Koyeb serverless platform for testing.

This example application is designed to show how a Flask application can be deployed on Koyeb.

Getting Started

Follow the steps below to deploy and run the Flask application on your Koyeb account.

Requirements

You need a Koyeb account to successfully deploy and run this application. If you don't already have an account, you can sign-up for free here.

Deploy using the Koyeb button

The fastest way to deploy the Flask application is to click the Deploy to Koyeb button below.

Deploy to Koyeb

Clicking on this button brings you to the Koyeb App creation page with everything pre-set to launch this application.

To modify this application example, you will need to fork this repository. Checkout the fork and deploy instructions.

Fork and deploy to Koyeb

If you want to customize and enhance this application, you need to fork this repository.

If you used the Deploy to Koyeb button, you can simply link your service to your forked repository to be able to push changes. Alternatively, you can manually create the application as described below.

On the Koyeb Control Panel, click the Create App button to go to the App creation page.

  1. Select GitHub as the deployment method to use
  2. In the repositories list, select the repository you just forked
  3. Specify the branch to deploy, in this case main
  4. To let Koyeb know how to launch the application, add gunicorn app:app as the run command
  5. Then, give your App a name, i.e flask-on-koyeb, and click Create App.

You land on the deployment page where you can follow the build of your Flask application. Once the build is completed, your application is being deployed and you will be able to access it via <YOUR_APP_NAME>-<YOUR_ORG_NAME>.koyeb.app.

Contributing

If you have any questions, ideas or suggestions regarding this application sample, feel free to open an issue or fork this repository and open a pull request.

Contact

Koyeb - @gokoyeb - Slack

About

Example to deploy a Flask application on Koyeb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 82.9%
  • Procfile 17.1%