Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chiditarod/routemaster
Django app that calculates routes for the CHIditarod
https://github.com/chiditarod/routemaster
Last synced: about 1 month ago
JSON representation
Django app that calculates routes for the CHIditarod
- Host: GitHub
- URL: https://github.com/chiditarod/routemaster
- Owner: chiditarod
- License: gpl-2.0
- Created: 2015-01-07T03:29:09.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-07T21:26:09.000Z (over 7 years ago)
- Last Synced: 2024-05-10T22:01:52.347Z (8 months ago)
- Language: Python
- Homepage:
- Size: 1.02 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Routemaster
_Route generator software for CHIditarod_Warning, this code is uggggly. Somehow, every year, I'm able to get it to run. YMMV.
Basically it is a traveling salesman solver. There is a starting line, a
finish line, and a configurable amount of checkpoints in-between. You
first add the various checkpoints, add the distances between them all, set a few params like # of teams,
the # of checkpoints, etc, then hit go, and it figures out the best routes.The codebase is written in [Python](https://www.python.org/), and it uses an old version of the [Django](https://www.djangoproject.com/) web framework.
## To Install
Read [INSTALL.md](https://github.com/chiditarod/routemaster/blob/master/INSTALL.md)## Usage
1. Activate the python virtual environment
cd path/to/routemaster/repo
. ~/.python/Virtualenvs/routemaster/bin/activate1. Run Locally
python manage.py runserver
1. Visit URLs
- http://localhost:8000/admin - Configure the races, checkpoints, etc
- http://localhost:8000/races - Run the calculations## TODO
Rewrite this in something fun.## etc
### How to install a new pip module
$ bin/pip-install
### Run Local Django Console
```bash
cd path/to/routemaster
python manage.py shell
```#### print settings
```python
from django.conf import settings
print settings.
```### Users
devin / mush