(For Witnesses) Instant price-feed script
steem·@someguy123·
0.000 HBD(For Witnesses) Instant price-feed script
As part of being a witness, you're expected to run a price feed, to allow the network to convert SBD to USD (via STEEM). --- **Unfortunately, most of them are a bit of a pain to install.** **Well. Not anymore.** I've taken @jesta's fork of @clayop's python price feed, and wrapped it with a shell script that can deal with setting it up, configuring, as well as start/stop/status It's open source, released under the GNU GPL v3. You can view the code here: https://gist.github.com/Someguy123/100dbc0e40d343886e2aa014317f586f/ It works on both Linux (debian-based, e.g. ubuntu), and OSX (requires homebrew). Here's how to use it: ``` wget https://gist.githubusercontent.com/Someguy123/100dbc0e40d343886e2aa014317f586f/raw/pricefeed-tool.sh -O price.sh chmod +x price.sh ./price.sh install ./price.sh start ``` Need to change the username or key? ``` ./price.sh config ``` Here's an example, on a complete fresh [DigitalOcean 512mb server](https://m.do.co/c/ee902cbe72a4) to show how easy it is: ``` root@feedtest:~# wget https://gist.githubusercontent.com/Someguy123/100dbc0e40d343886e2aa014317f586f/raw/pricefeed-tool.sh -O price.sh 2016-09-14 21:06:10 (42.7 MB/s) - ‘price.sh’ saved [4643/4643] root@feedtest:~# chmod +x price.sh root@feedtest:~# ./price.sh install Installing Python3, git, and Python3-PIP... - - - - - - - - - - - - - - - - - - - - - - Extracting templates from packages: 100% - - - - - - - - - - - - - - - - - - - - - - Updating PIP to avoid problems... - - - - - - - - - - - - - - - - - - - - - - Cloning @jesta's Steem Feed... - - - - - - - - - - - - - - - - - - - - - - Installing dependencies... - - - - - - - - - - - - - - - - - - - - - - Automatically configure the price feed? (Y/n) Creating config file... If you make a mistake, just press CTRL-C to exit without saving. Your STEEM username (no @ sign): someguy123 Your active private key (begins with 5): 5......... - - - - - - - - - - - - - - - - - - - - - - Successfully saved config - - - - - - - - - - - - - - - - - - - - - - Price feed has been installed. Start with './price.sh restart' root@feedtest:~# ./price.sh restart Killing any existing price feed Loading environment settings Starting steemfeed in screen 'pricefeed' Pricefeed started! Check on it with 'screen -x pricefeed' Problems? Check steemfeed/error.log root@feedtest:~# ./price.sh status The price feed is running root@feedtest:~# ``` Did you see that? That's right. 3 commands and it's up. --- Do you like what I'm doing for STEEM/Steemit? ---- [Vote for me to be a witness](https://steemit.com/~witnesses) - every vote counts. ---- Don't forget to follow me for more like this. ----
👍 someguy123, sergey44, fabien, aaseb, mlpfrank, murh, teamsteem, lamech-m, imag1ne, badassmother, stiletto, paco-steem, spaninv, simon.braki.love, crypt0mine, coar, jphamer1, anomaly, sirwinchester, steemswede, jocelyn, joseph, error, idol, masteryoda, sakr, blueorgy, liondani, karen13, taker, mark-waser, digital-wisdom, jwaser, herpetologyguy, morgan.waser, bwaser, ellepdub, ethical-ai, strong-ai, davidjkelley, justtryme90, acidyo, cryptochannel, getssidetracked, strawhat, thebotkiller, chloetaylor, runridefly, smailer, valtr, jl777, proto, gmurph, eeks, fubar-bdhr, allmonitors, benthegameboy, theb0red1, wuyueling, phenom, techslut, antaja, xeldal, enki, masterinvestor, steempty, deviedev, spaceghost, rxhector, nabilov, derekareith, paxmagnus, alex.chien, bingo-0, rubybian, barrie, lehard, gvargas123, cryptoeasy, fact, nonlinearone, james-show, lukestokes, clement, bigsambucca, rossco99, boatymcboatface, theshell, glitterpig, pjheinz, thecryptofiend, cryptoiskey, kingscrown, luisucv34, anotherjoe, instructor2121, laonie1, laonie2, laonie3, laonie4, laonie5, laonie6, laonie7, laonie8, laonie9, laonie10, laonie11, anyx, craigwilliamz, steve-walschot, thecryptodrive, tygergamer, nano2nd, barrycooper, tracemayer, teemsteem, steemdrive, cryptoblu, instructor, dollarvigilante, hilarski, rickmiller, nulliusinverba, steemprincess, ranko-k, drinkzya, tee-em, isteemit, steemsquad, inarix03, rusteemitblog, expat, steem1653, bitcoiner, raymonjohnstone, brendio, l0k1, ct-gurus, dealzgal, steemtrail, venuspcs, ausbitbank, kurtbeil, shadowspub, dexter-k, toddemaher1, snowden, wildchild, storage, zaebars, gomeravibz, zettar, blackmarket, steemchain, gifts, steemlift, steemleak, bitchplease, freesteem, merej99, michellek, michaelx, mrhankeh, paynode, loli, mikemacintire, hacon, frozendota, makishart, proctologic, klye, chitty, cjin,