Golang Web server to draw cards from The Tarot of the Silicon Dawn https://silicon-dawn.cards
Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
Amelia A 32ee57126f
Add k8s notes
há 2 meses
cmd Merge remote-tracking branch 'origin/main' into master há 5 meses
templates Works! há 8 meses
vendor Fix my broken merge há 5 meses
.dockerignore No more drive build há 8 meses
.gitignore Bring makefiles into this há 8 meses
.tool-versions Update deps, move to go 1.15 há 5 meses
Dockerfile docker go 1.15 há 5 meses
Doing-k8s.md Add k8s notes há 2 meses
LICENSE It is a repo há 8 meses
Makefile docker go 1.15 há 5 meses
README.md Simplify everything (#1) há 8 meses
cards.go Merge remote-tracking branch 'origin/main' into master há 5 meses
cards_test.go Merge remote-tracking branch 'origin/main' into master há 5 meses
check-docker.http Add request logging to app há 5 meses
check-k8s.http Try out k8s for deploy há 8 meses
check-local.http Simplify everything (#1) há 8 meses
docker-compose.override.yml Update testing a lot há 7 meses
docker-compose.yml Update testing a lot há 7 meses
go.mod Fix my broken merge há 5 meses
go.sum Fix my broken merge há 5 meses
server.go Fix my broken merge há 5 meses
web.yml Try out k8s for deploy há 8 meses

README.md

Silicon Dawn

I made this so I can pull random cards on my phone and review the text.

I originally designed this for use in Pythonista Then I rewrote it in rust to be a web app. Then I got very tired of compiling rust. I wanted to take it to the NEXT LEVEL and rewrite it in golang and stuff it in a docker container.

Instructions

Docker

I publish the docker container at DockerHub. It is fully self-contained and uses port 3200 internally.

You can spin up a copy however you choose to do a docker or use my compose files in /compose

Go Binary

  1. Install golang
  2. Check out this repository wherever you choose
  3. go build -o bin/silicon-dawn cmd/silicon-dawn
  4. ./bin/silicon-dawn get to hydrate the cards data directory
  5. ./bin/silicon-dawn serve to start the webserver
  6. Browse to http://localhost:3200 to enjoy your pick
  7. Refresh the page for a fresh pick

Or! if you are super lazy check out my hosted copy of this.