The Scrap Scanner 5000
The Scrap Scanner 5000 is a free service that lets you know when the car you are looking for has arrived at your local junkyard.
The Scrap Scanner 500 currently supports LKQ Pick Your Part junk yards. Tell us the make, model, or years of the car you need parts from and we will send you an email when one shows up at your favorite yard.
The Scrap Scanner 5000 is designed to run on Python 3.6 and uses the Flask framework.
Copy the example config and change things as needed.
$ cp config.py.example config.py
Create a virtualenv for python.
$ python -m venv flask
Install python packages
$ flask/bin/pip install -r requirements.txt
$ npm update
Setup the database.
$ flask/bin/python >>> from app import db >>> db.create_all()
Import the list of junkyards. If using the default SQLite database you can do this easily with sqlite-browser. If on a production server running Postgres, do this from an SQL prompt.
=> \copy junkyard FROM 'junkyards.csv' DELIMITER ',' CSV HEADER;
Install and start a mail server as per your distribution's instructions.
Start the debug server
$ ./manage.py runserver