Sanic application for the Fly.io cloud deployment
- Sanic: Sanic is a Python 3.8+ web server and web framework that’s written to go fast.
- Fly.io: Fly is a platform for running full stack apps and databases.
- Fly.io - create account
- mkdir ibx-sanic-app
- cd ibx-sanic-app
- python -m venv venv
- .\venv\scripts\activate
- pip install sanic
- pip freeze > requirements.txt
- create server.py
- some code
- configure Procfile
- flyctl auth login
- flyctl launch
- flyctl deploy
- browse https://ibx-sanic-app.fly.dev/