fastn
can be deployed in two main modes, static and dynamic.To use static mode you run fastn build
command, and this command creates a folder named .build
in the fastn
package root folder (which is the folder that contains FASTN.ftd
file). This folder contains HTML, CSS, JS, and image files. This folder can be deployed on any static web server.
A lot of static hosting providers provide free hosting for static content. Static host means no dynamic computation, and so it is quite cheap to host.
You can checkout our guide on Github Pages and Vercel, two of the popular options available to you. Both offer free plans.Static mode is great, but sometimes you want dynamic features. Maybe you want to have authentication on your site. Or maybe you want to collect information from the visitors or show them up to date information.
To deploy yourfastn
website in dynamic mode you have to deploy the fastn
binary itself. fastn
can run on Linux, Windows and Mac so you have a lot of choices for where to deploy it.Have a question or need help?
Visit our GitHub Q&A discussion to get answers and subscribe to it to stay tuned.
Join our Discord channel and share your thoughts, suggestion, question etc.
Connect with our community!We welcome you to join our Discord community today.
We are trying to create the language for human beings and we do not believe it would be possible without your support. We would love to hear from you.