Weather forecast notification and Facebook integration for Gasherbrum2 2021 Expediation.
For Arch Linux or use your favorite package manager...
% pacman -S ruby
% ruby --version
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-linux]
% rua install heroku-cli-bin
% bundle install
% rails --version
Rails 6.1.3.2
% echo EMAIL=#### > .env
% echo PASS=#### > .env
% rails db:create
% rails db:migrate
% rails db:seed
% foreman start
% open http://127.0.0.1:5000
The first/default weather forecast provider...
It fetches forecast data from configured forecast provider.
% rails gasherbrum2:forecast
Sends out all email notifications with latest forecast data.
% rails gasherbrum2:notifications
- https://developers.facebook.com/docs/pages/access-tokens
- https://developers.facebook.com/docs/graph-api/reference/page/feed#publish
- https://developers.facebook.com/tools/explorer/?method=GET&path=101683485488290%2Ffeed&version=v11.0
- https://www.freeprivacypolicy.com/
% rails test
- Automated CI enabled on staging, commit the code to githhub and you are all set.
- Manual promotion to production using Heroku dashboard.
% heroku run rails gasherbrum2:forecast -a gasherbrum2-production
% heroku run rails gasherbrum2:notifications -a gasherbrum2-production