https://github.com/wkentaro/vercel-fasthtml-python-boilerplate
Fixes the crash described in: https://x.com/wkentaro_/status/1825042400563396988
https://github.com/wkentaro/vercel-fasthtml-python-boilerplate
Last synced: about 1 month ago
JSON representation
Fixes the crash described in: https://x.com/wkentaro_/status/1825042400563396988
- Host: GitHub
- URL: https://github.com/wkentaro/vercel-fasthtml-python-boilerplate
- Owner: wkentaro
- Created: 2024-08-17T15:59:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-18T05:24:21.000Z (about 1 year ago)
- Last Synced: 2025-04-22T19:46:36.740Z (6 months ago)
- Language: Python
- Homepage: https://fasthtml-template.vercel.app/
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FastHTML Boilerplate
Deploy your [FastHTML](https://fastht.ml/) project to Vercel with zero configuration.
[](https://vercel.com/new/clone?repository-url=https://github.com/vercel/vercel/tree/main/examples/fasthtml&template=fasthtml)
_Live Example: https://fasthtml-template.vercel.app_
Visit the [FastHTML documentation](https://docs.fastht.ml/) to learn more.
## Getting Started
Install the required dependencies:
```bash
pip install -r requirements.txt
```## Running Locally
Start the development server on http://0.0.0.0:5001
```bash
python main.py
```When you make changes to your project, the server will automatically reload.
## Deploying to Vercel
Deploy your project to Vercel with the following command:
```bash
npm install -g vercel
vercel --prod
```Or `git push` to your repostory with our [git integration](https://vercel.com/docs/deployments/git).
To view the source code for this template, [visit the example repository](https://github.com/vercel/vercel/tree/main/examples/fasthtml).