Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 868 Bytes

File metadata and controls

46 lines (29 loc) · 868 Bytes

CI

Weather App

A small app that tells you the weather for a zip code

Weather Form Weather Forecast

Setup

Install dependencies

./bin/setup

Running

Run the app locally in development mode

./bin/dev

If you do not have the master.key setup or available, you'll need to register with weatherapi.com and get an API key. Use WEATHER_API_TOKEN as an ENV var for fetching the weather:

WEATHER_API_TOKEN=88888CHANGEME8888888 ./bin/dev

Tests

Run the specs

bundle exec rspec

Deploying

deploys to weather.invalid8.com

DEPLOYMENTS_GITHUB_TOKEN='CHANGE_ME' ./bin/kamal deploy