Skip to content
ComputerScienceHousePublic

About

Days Since Last Useless House Service was made

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Counters Static Badge

Day's Since Last Useless House Service was Made: 0

A simple interface for logging and displaying time since a certain event has occured, allowing for CSHer's to track how long its been since a prior event. Heavily inspired off the "Days since last..." meme format.

This project uses Golang, Gin, HTML/CSS, and Javascript.

This project ALSO uses a modified version of bootstrap 5! Check it out here!

Local Development

Installing

  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

  1. Make sure you have docker installed

(OPTIONAL): You can use docker compose as well!!

  1. Copy the .env.template file, rename it to .env and place it in the root folder
  2. Ask an RTP for counters secrets, add them to the .env accordingly

Run

Counters is containerized through a docker file.

  1. Build the docker file
    docker build -t Counters .
  1. Run the newly built docker on port 8000
    docker run -p 8080:80 Counters

Docker Compose

Counters also has support for Docker Compose, a extended version of docker that simplifies the steps.

(This is a really cool thing! If you use docker often, check it out!)

    docker compose up --build

TODO

  • [] Add Swagger
  • [] Add API Integration
  • [] Add Logging (similar to Votes "Actions")
  • [] Time Zone support

About

Days Since Last Useless House Service was made

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages