Skip to content

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

License

Notifications You must be signed in to change notification settings

rubenmantecon/tricount

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 jd@jd.com and password jd:

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