Matt Baer 141673d949 | vor 6 Jahren | |
---|---|---|
cmd/publicbio | vor 6 Jahren | |
less | vor 6 Jahren | |
static/css | vor 6 Jahren | |
templates | vor 6 Jahren | |
.gitignore | vor 6 Jahren | |
LICENSE | vor 6 Jahren | |
Makefile | vor 6 Jahren | |
README.md | vor 6 Jahren | |
app.go | vor 6 Jahren | |
handler.go | vor 6 Jahren | |
routes.go | vor 6 Jahren | |
sample.json | vor 6 Jahren | |
templates.go | vor 6 Jahren | |
user.go | vor 6 Jahren |
Create a simple public bio for yourself.
Right now it’s only made for a single user. Edit sample.json
and then run:
cd cmd/publicbio
go build
./publicbio -u ../../sample.json
You’ll see your site at localhost:8080
. Provide a different port with the -p
option.
After updating styles, run make
.