Small script to keep track of whose turn it is to drive and total days driven in a calendar year.
- 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)
- MIT
- Python 2.7+ or 3.2+
- bottle
- bottle-cork (for authentication) (TODO)
- 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.py
and visit http://localhost:8080 - Configure reverse proxy webserver if desired.
-
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