Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 772 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 772 Bytes

tricount

A Tricount web clone written in PHP, SQL, JS and a bit of Bootstrap.

Requirements

LAMP stack or derivatives

Setup

Create a database and username for the app. Also, grant privileges to said database:

CREATE DATABASE tricount;
CREATE USER exercises@localhost IDENTIFIED BY 'exercises';
GRANT ALL on tricount.* TO exercises@localhost;

Clone the repo, cd into it and run the initial SQL scripts:

sudo mysql < db/initDB.sql
sudo mysql < db/populateDB.sql

Inspect the scripts for more information about what gets inserted. For now, you can login with username [email protected] and password jd:

Screenshot from 2021-06-18 17-50-04