Catalogue all of your hard drives with a beautiful web-based tool. Docker package coming soon.
Play with Drive Tracker on it's demo site
- Responsive web design - for use on desktop and mobile browsers
- Designed using Bootstrap 3
- Built with Django
- Runs wherever Python does
- Search by any field
- Input and store all the data you have about each of your harddrives
- All fields are optional
- Python 2.7
- SQL Server (PostgreSQL recommended)
- Nginx (or other reverse proxy running in front of gunicorn)
- Open a terminal and go to the folder where you want to install (
cd /opt/dt
) - Download and unzip the latest build to that directory (
/opt/dt/
) - Create a virtualenvironment and use pip to install all of the required packages
virtualenv venv
source venv/bin/activate
sudo apt-get install libpq-dev python-dev (ubuntu only)
pip install -r requirements.txt
- Copy drivetracker/settings/example.py to drivetracker/settings/local.py and fill in your configuration details
- Make sure to disable debug by setting
DEBUG = False
in local.py - Make sure to provide correct database settings or the app won't start
- Migrate the database
python manage.py migrate
- Start Drive Tracker by executing
gunicorn -b 0.0.0.0:8000 drivetracker.wsgi
- You can access Drive Tracker from a web browser at
yourip:8000
- Configure Gunicorn to start automatically
- Fork the project repository
- Make all of your changes in a specific branch on your fork
- Make sure your changes confirm to the Style Guide for Python Code (PEP8)
- Open a pull request
isort -rc --atomic .
flake8 drivetracker
To autodoc/generate templates:
sphinx-apidoc -f -o docs/ drivetracker/ drivetracker/*/migrations drivetracker/settings
To build the html pages:
cd docs; make html
Please see LICENSE