markbeep / Wenjim

Unofficial ASVZ Statistics Website

Home Page:https://wenjim.markc.su/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wenjim

When gym? Find out with this tool!

Local Development

The exact details on how to setup the front- and backend are in the READMEs of the specific directory. The general requirements are:

  • Frontend
    • Node LTS (>=16)
    • npm
  • Backend
    • Python 3.11
    • Poetry (package manager)
    • Docker Compose

These should suffice to get everything setup for simple local development. There are Dockerfiles for using the scraper or backend if needed.

Easiest is to run the backend with the docker-compose file in the root. For more details and hot-reload, check the README in the backend directory.

docker compose up --build

GRPC

Wenjim uses GRPC to communicate between the front- and backend.

To generate the required proto files, simply execute:

make

Poetry is required for this.

"Manual" Install

The manual install consists of simply executing the Makefile manually:

Backend

cd backend
poetry run poe build

Frontend

cd backend
npm run build:proto

About

Unofficial ASVZ Statistics Website

https://wenjim.markc.su/


Languages

Language:TypeScript 56.1%Language:Python 38.9%Language:Dockerfile 2.1%Language:Nix 1.4%Language:Shell 0.6%Language:JavaScript 0.6%Language:Makefile 0.3%Language:CSS 0.1%