AnswerDotAI / fasthtml-tut

Code to go with beginner FastHTML tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fasthtml-tut

Code to go with beginner FastHTML tutorial. First install fasthtml:

pip install -U python-fasthtml

Make sure you've installed the railway CLI, and logged in with:

railway login

Then, to deploy an app, cd to the directory, and run (replacing NAME with your preferred app name):

railway init -n NAME
railway up -c
railway domain
fh_railway_link
railway volume add -m /app/data

There is a shell script deploy.sh in the current directory with those lines, so a shortcut is to just call this from the app's directory:

../deploy.sh

About

Code to go with beginner FastHTML tutorial

License:Apache License 2.0


Languages

Language:Python 50.7%Language:Jupyter Notebook 48.5%Language:Shell 0.8%