A Mac OSX command line program to print a list of food trucks open at runtime. Bon Appetit!
- Ruby
- formatador (for outputting table of food truck names and addresses)
Max OSX comes with Ruby preinstalled. You can check which version you have installed by typing ruby -v
. If you do not have Ruby installed, follow the link above to download and install Ruby.
To install formatador:
gem install formatador
- If you clone this repository and have bundler installed, you can also use
bundle install
- Clone this repository
git clone https://github.com/esther-ng/food-trucks.git
- Install formatador (see above)
./show-open-food-trucks.rb
(set up a bash alias if desired)- Follow the prompts
- Navigate to the releases page of this repository
- Download the
show-open-food-trucks
file to yourusr/local/bin
directory - From that directory run
chmod 755 show-open-food-trucks
gem install formatador
show-open-food-trucks
- Follow the prompts
If you receive an error message that your usage has been throttled, you may raise your limits by requesting a San Francisco Data API App Token and utilizing the commented out code on line 54 of the source code.