The Recipe app keeps track of all your recipes, ingredients, and inventory. It will allow you to save ingredients, keep track of what you have, create recipes, and generate a shopping list based on what you have and what you are missing from a recipe. Also, since sharing recipes is an important part of cooking the app should allow you to make them public so anyone can access them. The project is a repository consisting of the following files:
In order to run this project you need:
Ruby
& Rails
installed in your machine
(else You can install Rails
just with this simple command gem install rails
)
Clone this repository to your desired folder:
git clone https://github.com/lorenzoworx/Blog-App.git
cd Blog-App
Install project dependencies with:
bundle install
$ cd Blog-App
$ bundle
and run to install npm package
$ npm install
make sure the database is up and running.
$ rails db:create
When you will add migration file then, you can add command like
$ rails db:migrate
Run this command line to add some dummy data
$ rails db:seed
rails s
and visit http://localhost:3000/ in your browser!Go to your gemfile and add the RSpec gem in the development, test group:
group :development, :test do
gem 'rspec-rails'
end
Then in your terminal run the command:
$ bundle install
To set up RSpec in your app and create the Spec folder run:
$ rails generate rspec:install
To run Request specs locally you need just to run this following command in your terminal :
$ rspec spec/
$ rspec spec/ --format documentation
π€ : lorenzoworx
π€ : otmaneechchafyky
Contributions, issues, and feature requests are welcome!
Give us βοΈ If you like this project!
This project is MIT licensed.