- Notifications
You must be signed in to change notification settings - Fork1
Tracking Snowy Owls Across Canada
License
NotificationsYou must be signed in to change notification settings
humphd/snowy-owls-ca
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
- Production:https://www.snowyowls.ca
- Staging:https://staging.snowyowls.ca
A web app to help people find Snowy Owls across Canada.
npm install
You also need to install dependencies for the HTTP functions:
cd src/http/get-recentnpm installcd src/http/post-analyticsnpm install
You need to request aneBird API Token. Set thevalue of your token in a new file,.arc-env
:
@testingAPI_KEY your-token-here
To start a local development server:
npm run dev
Navigate tohttp://localhost:3000. Usectrl+c
twice to kill the two servers.
To run linting and tests:
npm run lintnpm test
To build a production bundle inout/
:
npm run build
To deploy to staging, push to themain
branch.Staging is always running what's onmain
.
To deploy to production, create a tag:
git tag -a 1.x.y -m "v1.x.y"git push origin 1.x.y
- if new HTTP functions are added to
src/http/*
, remember to also add rewrite rules to the custom dev server for local development:dev.js - make sure the entire dev environment stays under ~500M. Use
npm run size
to check it.
About
Tracking Snowy Owls Across Canada