A web application for vehicle inspection registration.
It is built with Python using the Django Web Framework.
- Manage the information about vehicles, owner and inspection.
- Ready Bootstrap-themed pages
- User Registration/Sign up
- Better Security with 12-Factor recommendations
- Logging/Debugging Helpers
- Works on Python 2.7 or 3.4
To set up a development environment quickly, first install Python 3. It comes with virtualenv built-in. So create a virtual env by:
$ python3 -m venv sctvehcheck
$ . sctvehcheck/bin/activate
Clone the project using the git link and go to the folder where is located. After this got to the project folder and install all dependencies:
$ cd sctvehcheck
$ pip install -r requirements.txt
Make a copy the of the settings in the local environment file, and customize it according to your needs.
$ cp sctvehcheck/settings/local.sample.env sctvehcheck/settings/local.env
(New!)
Run migrations:
5.$ python manage.py migrate
Run the project.
$ python manage.py runserver
- Install pipenv system-wide or locally but outside a virtualenv
- Download it or clone the project. Go to the download folder using the command bellow.
$ cd sctvehcheck
$ pipenv install --dev
$ pipenv shell
$ cd src
$ cp sctvehcheck/settings/local.sample.env sctvehcheck/settings/local.env
(New!)$ python manage.py migrate
$ python manage.py runserver
If you need to keep requirements.txt
updated then run
pipenv lock --requirements > requirements/base.txt
echo "-r base.txt" > requirements/development.txt
pipenv lock --requirements --dev >> requirements/development.txt
Take a look at the docs for more information.