Schede di micro presentazione per risolvere necessità, cercare tecnologie appropriate, uscire dai cloud GAFAM.
Alex Myasoedov 52d942ac01 Fix docker tag | 6 éve | |
---|---|---|
auth | 6 éve | |
files | 6 éve | |
static | 6 éve | |
templates | 6 éve | |
.dockerignore | 7 éve | |
.gitattributes | 8 éve | |
.gitignore | 6 éve | |
.travis.yml | 8 éve | |
Dockerfile | 7 éve | |
LICENSE | 8 éve | |
Makefile | 6 éve | |
Readme.md | 6 éve | |
app_test.go | 6 éve | |
initial-slides.md | 8 éve | |
main.go | 6 éve | |
package.json | 6 éve | |
yarn.lock | 6 éve |
This repo is a reworked version of Sandstorm Hacker Slides which features easy set up run outside of Sandstorm and without vagrant-spk. Likewise you can publish and edit your previous markdown slides which is not supported in the original version.
| Edit mode | Published | | --- | --- | --- | | | | | | |
docker run -it -p 8080:8080 -v $(pwd)/slides:/app/slides msoedov/hacker-slides
To build and run it locally
go get
go run main.go
[GIN-debug] Listening and serving HTTP on :8080
And then you can just open http://127.0.0.1:8080 and it's ready to use with sample slides.
Run with docker
docker run -it -p 8080:8080 -v $(pwd)/slides:/app/slides msoedov/hacker-slides
Basic auth (disabled by default)
USER=bob PASSWORD=password1 go run main.go
[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
- using env: export GIN_MODE=release
- using code: gin.SetMode(gin.ReleaseMode)
WARN[0000] Auth mode enabled
WARN[0000] Visit http://bob:password1@0.0.0.0:8080
docker run -it -p 8080:8080 -e USER=bob -e PASSWORD=password1 -v $(pwd)/slides:/app/slides msoedov/hacker-slides
For feature requests and bug reports submit an issue to the GitHub issue tracker