Matt Baer 141673d949 | il y a 6 ans | |
---|---|---|
cmd/publicbio | il y a 6 ans | |
less | il y a 6 ans | |
static/css | il y a 6 ans | |
templates | il y a 6 ans | |
.gitignore | il y a 6 ans | |
LICENSE | il y a 6 ans | |
Makefile | il y a 6 ans | |
README.md | il y a 6 ans | |
app.go | il y a 6 ans | |
handler.go | il y a 6 ans | |
routes.go | il y a 6 ans | |
sample.json | il y a 6 ans | |
templates.go | il y a 6 ans | |
user.go | il y a 6 ans |
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
.