https://github.com/toastdriven/mathpractice
Math practice (for the kiddos)
https://github.com/toastdriven/mathpractice
Last synced: 11 months ago
JSON representation
Math practice (for the kiddos)
- Host: GitHub
- URL: https://github.com/toastdriven/mathpractice
- Owner: toastdriven
- License: bsd-3-clause
- Created: 2019-11-24T04:04:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-03-20T02:20:14.000Z (about 5 years ago)
- Last Synced: 2025-06-07T16:54:57.481Z (11 months ago)
- Language: Python
- Size: 140 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mathpractice
An app to help with practicing basic maths.
## Why?
To help my kids practice their basic math skills.
* Purposely a small app that doesn't deal with all the error states.
* Purposely doesn't have authentication.
* Simple in design & implementation.
> **Note:** I'm running this app on a Raspberry Pi on my home network,
> siloed off from the rest of the internet. I'd **highly** recommend doing
> some similar (either just running locally or home network at most).
>
> **DO NOT EXPOSE THIS ON THE BROADER INTERNET!**
## Images



## Setup
```
$ git clone git@github.com:toastdriven/mathpractice.git
$ cd mathpractice
$ pipenv install
$ cd mathpractice
$ python
>>> import app
>>> app.db.create_tables([app.Problem])
```
## Running
```
$ pipenv shell
# Export the valid names to be displayed in the app.
$ export APP_NAMES="daniel,john,jane"
# Optional, to enable debug mode.
# $ export APP_DEBUG=1
$ cd mathpractice
$ python app.py
# Alternatively, if you'll be changing the code, some hot-reloading...
# $ pipenv install gunicorn
# $ gunicorn -w 1 -t 0 app:app
```
Then hit up http://127.0.0.1/ in your browser.
## License
New BSD