:)
Every week, Boost orders groceries from Countdown(?). It would be useful to have an app where we can record what is needed (items + quantity) ahead of time, as well as suggesting items for purchase.
Dependencies:
- Ruby 2.5.0
- Rails 5.2.1
- MySQL
- Install & configure MySQL
- Install the MySQL gem:
gem install mysql2
- Export your root MySQL password as an env variable (for use by the DB config file):
export SHOPPING_LIST_DATABASE_PASSWORD="my_password"
(or add to your.bash_profile
)
git clone [email protected]:boost/shopping-list.git
cd shopping-list
bundle install
rake db:create
rails db:migrate
rails db:seed
rails server
Then go to localhost:3000
in your browser 😀
To run tests:
Dependencies
- Chromedriver
bundle exec rspec
- How to use MySQL With Your Ruby on Rails Application
- custom controller action with link_to helper in Rails 5
- Better Specs
{ rspec guidelines with ruby }
- [SLACK] Make slack request execution a delayed job and respond to slack right away