Create a new project using the starter template.
git clone https://github.com/razshare/frizzante-starter && cd frizzante-starter && rm .git -fr
[!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 ofbun
andbunx
with the equivalent of whatever runtime you'd like to use.
Update dependencies
make update
[!NOTE] Make sure you have
build-essential
installedsudo apt install build-essential
Then start the server
make start
or build it
make build
[!NOTE] The
.dist
directory is embedded, which makes the final executable completely portable.That being said, you can still create a ".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 ".dist" directory instead.
[!NOTE] This project is aimed mainly at linux distributions.
Feel free to contribute any fixes for other platforms.