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.
-To get a local copy up and running follow these simple example steps.
To check if you have Git, Postgres and Ruby installed you can use the commands below:
$ git --version
$ ruby --version && irb
If you don't have Ruby, you can find a complete list of ways to install Ruby, including using third-party tools like rvm, see:
(https://www.ruby-lang.org/en/downloads/)
If you installed git you can clone the code to your machine, or download a ZIP of all the files directly.
Open the Repository Link of this project in GitHub.
Once the files are on your machine, open capstone-ruby folder in Visual Studio Code.
Start by cloning the repository.
https://github.com/NATASHA-ct/BLOG-app-rails.git
Navigate to the created folder.
Initialize your project with Git.
Make sure that your project has Postgres database set up.
Run rails server and visi thttp://127.0.0.1:3000/ in your browser!
Installing bootstrap on an existing project Existing project
The first thing you'll need to do is to install the cssbundling-rails gem and then use the installer that the gem provides to generate the necessary configuration.
bundle add cssbundling-rails
./bin/rails css:install:bootstrap
Here's what the installer does.
It creates the builds folder, and links it in the manifest file.
It removes the application.css file because it generates its own.
It adds a package.json file to store Javascript dependencies.
It installs the foreman gem, and it generates a config file for it.
It adds a bin/dev script to start your rails server, and watch for any changes to your CSS files.
It creates the Bootstrap-specific scss file, which will be bundled into an application.css file.
It installs all the Javascript dependencies listed in the package.json file.
It appends the Bootstrap font path to the assets paths.
It adds the Bootstrap Javascript import to the application.js file.
And finally, it configures the build:css command and runs it to build the application.css file.```
--Once you have your repository cloned on your machine, feel free to modify it as needed.
rails s
in your terminal to start the app👤 Natasha Tatenda Chirombe
👤 NTARE GUY
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
-Hat tip to all documentations used -Inspiration
This project is MIT licensed.
NOTE: we recommend using the MIT license - you can set it up quickly by using templates available on GitHub. You can also use any other license if you wish.