This is a project which utilizes the data catalogue of artwork found in public areas in the city of Vancouver. Artwork can be displayed by artists or neighbourhood, and can be filtered by keywords.
Create and activate the virtual environment:
$ virtualenv venv
$ source venv/script/activateInstall Python dependencies:
$ pip install -r requirements.txtNavigate to '/static' and install JavaScript dependencies:
cd van_public_art/static
npm installEnvironment variables for database connection should be set in the .env file. Once this is done, navigate back to the root and run the project:
$ python run.pyTest environment variables can be set in pytest.ini. Install testing dependencies and run all tests:
$ pip install -r test-requirements.txt
$ pytest