This project is about the installation of a rail application to make sure that Rails is working smoothly on our computer we built a simple blog, holding a database of cars that can be updated and modified through a default form.
Contributions make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Ruby & Rails installed on your local machine.if not install it following steps in this link:Rails installation steps
- bundle installed on your machine
- Terminal or similar to execute the program.
To get a local copy up and running follow these simple example steps.
- Clone this repository with git clone
https://github.com/uwadonat/Rails_installation.git
using your terminal or command line. - Change to the project directory by entering:
cd rails_project1/my_first_rails_app
in the terminal.
- run the command
bundle install
This will install the required dependencies - run the command
rails db:create
. This will initialize the necessary migration files - run the command
rails db:migrate
- run the command
rails server
- open a browser window and navigate to http://localhost:3000
- If the list of cars is displayed in your browser, take care. It means that rails is well installed in your computer otherwise restart installation of Rails following this link
👤 Donat UWAMAHORO
This project is MIT licensed.