Skip to content

Commit

Permalink
Add description to scorekeeper
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitznik committed Jan 6, 2024
1 parent a0013e9 commit 3eac596
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
9 changes: 6 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ setup-env:
teardown-env:
RUNNING_POSTGRES_CONTAINER=$(docker ps --filter 'name=postgres' --format '{{{{.ID}}') && docker kill ${RUNNING_POSTGRES_CONTAINER}

build:
build-docker:
docker build -t robswebhub .

run:
run-docker:
docker run -p 8080:8080 --env APP_ENVIRONMENT=production --env APP_APPLICATION__PORT=8080 --env DATABASE_URL="postgres://postgres:password@localhost:5432/robswebhub" robswebhub

build-and-run: build run
build-and-run: build-docker run-docker

run:
cargo run
10 changes: 7 additions & 3 deletions src/routes/root/get.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ <h1>Hello, and Welcome to RobsWebHub!</h1>
<p><a href="/about" role="button">More about me</a></p>
<section id="buttons">
<h2>Projects</h2>
<div class="grid">
<div>Scorekeeper</div>
<div><a href="/scores" role="button" class="secondary">Go there</a></div>
<div class="grid">
<div>
<p><b>Scorekeeper</b></p>
<p>My girlfriend complained that I'm always winning in a card game we regularly play. I wrote this tool to prove
her wrong.</p>
</div>
<div><a href="/scores" role="button" class="secondary">Go there</a></div>
</div>
</section>
</main>

0 comments on commit 3eac596

Please sign in to comment.