- Add react components to
react/componentsdirectory - build with
make
- Add markdown files to the
public/md/directory. - Demo at coreycc.com
- Add bevy wasm bundled with trunk to the
public/gamesdirectory
Install dependencies.
make install
Run the server.
make runWatch for local file changes.
make watch
Run all Tests
go test ./...Build binary
go build -o bin/go_webserver main.goSystemd 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