https://github.com/AnswerDotAI/fh-deploy
Deployment examples for FastHTML
https://github.com/AnswerDotAI/fh-deploy
Last synced: 4 months ago
JSON representation
Deployment examples for FastHTML
- Host: GitHub
- URL: https://github.com/AnswerDotAI/fh-deploy
- Owner: AnswerDotAI
- License: apache-2.0
- Created: 2024-07-30T22:58:03.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-09-11T22:35:49.000Z (10 months ago)
- Last Synced: 2025-02-24T03:40:48.222Z (4 months ago)
- Language: Python
- Size: 127 KB
- Stars: 35
- Watchers: 10
- Forks: 16
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-fasthtml - FastHTML Deployment Examples
- awesome-fasthtml - FastHTML Deployment Examples
README
# fh-deploy
This repo contains deployment guides for the platforms listed below. Each guide contains a "hello world" style project which you'll setup on your local device before deploying it on the platform.
| Platform | Deployment Guide |
|------------------------------------------|--------------------------------------------------------------------------|
| [HuggingFace](https://huggingface.co/) | [guide](https://github.com/AnswerDotAI/fh-deploy/tree/main/huggingface) |
| [Railway](https://railway.app/) | [guide](https://github.com/AnswerDotAI/fh-deploy/tree/main/railway) |
| [Replit](https://replit.com/) | [guide](https://github.com/AnswerDotAI/fh-deploy/tree/main/replit) |
| [Vercel](https://vercel.com/) | [guide](https://github.com/AnswerDotAI/fh-deploy/tree/main/vercel) |
| [Heroku](https://heroku.com/) | [guide](https://github.com/AnswerDotAI/fh-deploy/tree/main/heroku) |
| [Droplet](https://www.digitalocean.com/products/droplets) | [guide](https://github.com/AnswerDotAI/fh-deploy/tree/main/droplet) [Docker + SSL guide](https://github.com/AnswerDotAI/fh-deploy/tree/main/droplet-ssl-with-ci) |
| [Fly.io](https://fly.io/) | [guide](https://github.com/AnswerDotAI/fh-deploy/tree/main/fly) |
| [Coolify](https://coolify.io/) | [guide](https://github.com/AnswerDotAI/fh-deploy/tree/main/coolify) |
| [Modal](https://modal.com/) | [guide](https://github.com/AnswerDotAI/fh-deploy/tree/main/modal) |If you would like to add a guide for another platform feel free to fork this repo and submit a PR.
### Platform Agnostic Deployment
- [Uvicorn](https://www.uvicorn.org/) is the server used to run FastHTML apps. For general info on uvicorn deployments see this [guide](https://www.uvicorn.org/deployment/).
- The Apache HTTP Server doesn't support ASGI deployments, which includes FastHTML. We suggest running [uvicorn behind nginx](https://www.uvicorn.org/deployment/#running-behind-nginx) or [Caddy](https://caddyserver.com/) instead.