j4kim / darts

Home Page:https://darts.3sdl.ch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Darts

Simple and stupid Darts championship manager using PHP, HTMX and MySQL.

Wireframe

https://www.tldraw.com/r/bQhuH_q9lF8Oi2Fy5STSX?viewport=-5,-113,2170,1174&page=page:page

Set up a local environment

Install mysql, php and composer.

Install php dependencies:

composer install

Create config from example:

cp config.example.php config.php

Configure DB conection in config.php.

Create database:

composer migrate

Run local server:

composer serve

Install js dependencies:

npm install

Run tailwind:

npm run lezgo

Deployment

Deployment is performed via a Github Webhook making a post request to /webhook. All pushes to branch master should produce an update on the server.

About

https://darts.3sdl.ch


Languages

Language:PHP 98.9%Language:JavaScript 0.9%Language:CSS 0.2%