Simple rotating list to decide whose turn it is to drive
- Python 59.4%
- Smarty 32%
- Dockerfile 6.1%
- Shell 2.5%
| data | ||
| static | ||
| view | ||
| .gitignore | ||
| app.py | ||
| carpool.sh | ||
| Dockerfile | ||
| LICENSE.txt | ||
| README.md | ||
| requirements.txt | ||
Carpool Tracker
Small script to keep track of whose turn it is to drive and total days driven in a calendar year.
Features
- Clicking on a driver moves them to the bottom of the list and adds a date when they drove.
- Shows most recent date driven
- Tracks number of days driven by each driver
- Add/delete drivers
- Authenticated login (TODO)
License
- MIT
Requirements
- Python 2.7+ or 3.2+
- bottle
- bottle-cork (for authentication) (TODO)
Installation (normal)
- Clone app
git clone https://github.com/firecat53/carpool.git - Create virtualenv
cd carpool && virtualenv --no-site-packages venv && source venv/bin/activate - Install requirements
pip install -r requirements.txt - Run server
python app.pyand visit http://localhost:8080 - Configure reverse proxy webserver if desired.
Installation (docker)
-
Copy the Dockerfile into the current directory and run
docker build -t carpool . -
Run the docker container
docker run -d \ -p 8080:8080 \ --mount type=volume,source=carpool_data,target=/srv/http/carpool/data \ carpool