Skip to content

CosmiCloud/ODNWeather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ODNWeather

This script pulls the latest weather observations from 1/500 randomly selected stations from weather.gov and publishes it to the Origintrail V6 Phase 2 testnet. Big thanks to @zeroxbt for contributing.

Currently, SSL needs to be disabled to use this script.

Running Origintrail V6 Beta Phase 2 testnode required.

  1. Run: sudo git clone https://github.com/CosmiCloud/ODNWeather.git && cd ODNWeather && sudo cp .env-example .env

  2. Add wallet info and save.

  3. Run: sudo npm install && chmod +x run_weather.sh && sed -i -e 's/\r$//' run_weather.sh && cp weather.service /etc/systemd/system && systemctl daemon-reload && systemctl start weather && systemctl enable weather && journalctl -f -u weather

You can now close out of the terminal. Make sure your otp and trac funds stay stocked.

NOTICE: If you get a 404 error while running, that is ok, that is the weather.gov api failing to return results for that call.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published