- Add react components to
react/components
directory - build with
make
- Add markdown files to the
public/md/
directory. - Demo at coreycc.com
- Add bevy wasm bundled with trunk to the
public/games
directory
Install dependencies.
make install
Run the server.
make run
Watch for local file changes.
make watch
Run all Tests
go test ./...
Build binary
go build -o bin/go_webserver main.go
Systemd setup
# copy systemd config (assumes pwd /home/ubuntu/go_webserver)
cp go_webserver.service /etc/systemd/system/go_webserver.service
# activate service
systemctl daemon-reload
service go_webserver start
service go_webserver status