a stock-ticker display
On a Mac:
- Install Homebrew
- Install Redis via Homebrew
- Install asdf
git clone https://github.com/jltml/slapscreen.git
cd slapscreen
asdf install
bundle install
npm -g install yarn
yarn install
rails db:migrate
gem install foreman
bin/dev
to run! - you may have to edit the fileProcfile.dev
to point to your Redis executable/installation- To add stocks, as of now, run
rails console
and try:
Stock.new(ticker: "aapl").save
then refresh and see if it works!