Web-based portfolio frontend for Gitea
https://code.ivysaur.me/teafolio
mappu
b34ae0dcbd
These sentences exist in codesite README.txt files, but the codesite2git script removed all the tags from the README.md files in generated Git repositories, so this clause will never be used |
||
---|---|---|
doc | ||
static | ||
.gitignore | ||
api.go | ||
config.toml.sample | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
main.go | ||
README.md |
teafolio
Teafolio is a web-based portfolio frontend for a Gitea server.
Compared to the earlier codesite project, the repository list and detailed information is loaded live from a Gitea server.
Written in Go
Usage
- Compile the binary:
go build
- Modify the sample
config.toml
file to point to your Gitea instanceteafolio
will look forconfig.toml
in the current directory, or, you can supply a custom path with-ConfigFile
- Deploy binary +
static/
directory to webserver
Production (Docker)
docker build -t teafolio:latest .
docker run --restart=always -d -p 5656:5656 -v $(pwd)/config.toml:/app/config.toml teafolio:latest
Production (Dokku)
By default, Dokku will proxy HTTP on port 5000.
dokku apps:create teafolio
dokku storage:mount teafolio /srv/teafolio-dokku/config.toml:/app/config.toml