[W] WholeWorldCoding's study tool
  • HTML 45.3%
  • Python 28.6%
  • Shell 14.2%
  • Batchfile 11.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-21 12:11:11 -05:00
templates Merge remote-tracking branch 'origin/main' 2026-11-21 12:11:11 -05:00
.env.example Here, have a sample .env file 2026-10-22 14:55:28 +00:00
.gitignore Update .gitignore 2026-11-10 13:32:44 +00:00
db.sql Fix mislabeled db issue 2026-10-22 14:44:36 +00:00
l.py new 2026-11-11 01:00:49 -05:00
README.md mysql isnt compatible with python 3.15 2026-11-13 18:02:26 +00:00
requirements.txt baseline homepage 2026-10-12 00:22:52 -04:00
secrets.txt Add secrets.txt 2026-10-22 15:57:05 +00:00
setup.bat Add setup.bat 2026-11-18 14:20:47 +00:00
setup.sh Add setup.sh 2026-11-18 14:21:22 +00:00

Crammer

WholeWorldCoding's Study Tool

name originated from cramming for a test

Crammer is extremely experimental! This documentation is rather minimal, and will probably stay that way for the forseeable future! File structure: l.py is the main python file for the project, templates contains any html files associated with it. The site design (as of now, approved by octo) is intentionally minimalistic and retro!

MySQL install

Enter MySQL:

mysql -u root -p

Create a Database:

CREATE DATABASE crammer;

Create a User:

CREATE USER 'cram'@'localhost' IDENTIFIED BY 'password';
then update .env file

Update Permissions:

GRANT ALL PRIVILEGES ON crammer.* TO 'cram'@'localhost';
FLUSH PRIVILEGES;

Then exit:

exit

Set up tables

mysql -u cram -p crammer < db.sql

Finally verify it all works:

mysql -u main -p crammer -e "SHOW TABLES;"

python3 -c "import mysql.connector; conn = mysql.connector.connect(host='127.0.0.1', user='cram', password='mypassword', database='crammer'); print('Connected:', conn.is_connected())"

replace mypassword with your password you set earlier