Make sure you have a recent version of Ruby installed, this project was build using Ruby 2.5
and make sure bundler
is installed, gem install bundler
- Clone repo
- cd
cbuseats-json-api
bundle install
- Ensure you have an Airtable API key and that you have read access to the supportcbuseats Airtable
- Run the following command:
AIRTABLE_API_KEY=xxxxx ruby fetch_airtable_data.rb
- Commit changes to
restaurant.json
and push to heroku