No description or website provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
autofisera
catalog
css
dokumenty
functional_tests
grafika
static
.env.example
.gitignore
.travis.yml
Pipfile
Pipfile.lock
Procfile
README.md
gulpfile.js
manage.py
package.json

README.md

Auto Fišera car catalog

Simple car catalog build using Django 1.11.4 on Python 3.6.

Installation

Setup your python environment.

python3 -m venv env
source env/bin/activate

Copy and fill in environment variables.

cp .env.example .env

Initialize database.

python manage.py migrate

You can then use catalog/fixtures/options.json to load car options.

python manage.py loaddata catalog/fixtures/options.json

Development

Start the server.

python manage.py runserver

Tests

Project runs functional tests using Selenium.

python manage.py test

Styles

npm install

# Compile assets and watch
npm start

# Compile assets
npm run build

License

All rights reserved, please let me know if you would like to use this project. We might come up with a solution.