Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ COUNTERS_MONGODB_URI=
AUTH_OIDC_ID=
AUTH_OIDC_SECRET=

# DEV_FORCE_IS_EBOARD=
# DEV_FORCE_IS_RTP=
DEV_FORCE_IS_EBOARD=
DEV_FORCE_IS_RTP=
5 changes: 2 additions & 3 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ WORKDIR /src/
RUN apk add git
COPY go.* .
RUN go mod download
COPY database database
COPY logging logging
COPY internal internal
COPY *.go .
RUN go build -v -o counters

FROM docker.io/alpine
RUN apk add --no-cache tzdata
ENV TZ=America/New_York
RUN cp /usr/share/zoneinfo/America/New_York /etc/localtime
COPY static /static
# COPY static /static
COPY templates /templates
COPY --from=build /src/counters /counters

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This project ALSO uses a modified version of bootstrap 5! Check it out [here!](h

## Local Development
### Installing
1. Clone and cd into the repo: git clone https://github.com/WeatherGod3218/counters
1. Clone and cd into the repo: git clone https://github.com/ComputerScienceHouse/counters
>> (OPTIONAL): Make another branch if your working on a large thing!

### Setup
Expand Down
4 changes: 2 additions & 2 deletions api.go → api_old.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"net/http"
"sort"

"github.com/WeatherGod3218/counters/database"
"github.com/WeatherGod3218/counters/logging"
"github.com/ComputerScienceHouse/counters/database"
"github.com/ComputerScienceHouse/counters/internal/logging"
"github.com/gin-gonic/gin"
"github.com/sirupsen/logrus"

Expand Down
233 changes: 0 additions & 233 deletions database/counter.go

This file was deleted.

52 changes: 0 additions & 52 deletions database/database.go

This file was deleted.

Loading
Loading