Skip to content

tomwieck/triffids

Repository files navigation

Triffids Logo

Triffids is an application that celebrates the parks, green spaces and nature of Bristol by surfacing data from Bristol Open Data and other sources in a fun and engaging way.

Development Information

API

Server setup

Virtualenv recommended - more information here

mkvirtualenv triffids
workon triffids
pip3 install -r env/requirements.txt
cd server
python3 app.py

Front end setup

Ensure you are using Node version >=8

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

To deploy to firebase

npm install -g firebase-tools (if not already installed)

firebase login (Should only be required once)

firebase deploy

More info

Test deployment on Firebase

https://triffidsbcc.firebaseapp.com