Create a new project using the starter template.
git clone https://github.com/razshare/frizzante-starter
Note
Make sure you have Go and Bun installed.
If you'd rather use a different runtime than Bun to update your javascript dependencies,
see makefile and change all occurrences of
bun
and bunx
with the equivalent of whatever runtime you'd like to use.
Update dependencies
make update
Then start the server
make start
or build it
make build
Note
The www/dist
directory is embedded, which makes the final executable completely portable.
That being said, you can still create a "www/dist" directory near your executable.
Whenever the server will try to access a file missing from the embedded file system, the server will fall
back to the nearby "www/dist" directory instead.
Note
This project is aimed mainly at linux distributions.
Feel free to contribute any fixes for other platforms.