This is a blog application built with Ruby on Rails. It allows users to create, read, update, and delete posts.
Ruby 3.3.4
Rails 7.1.3.4
- Ruby 3.3.4
- Rails 7.1.3.4
-
Clone the repository:
git clone https://github.com/Javierdigital85/blog-rubyOnRails
-
Navigate to the project directory:
cd blog-rubyOnRails -
Install dependencies:
bundle install
-
Set up the database:
rails db:create rails db:migrate
-
Start the Rails server:
rails server
-
Navigate to http://localhost:3000 in your browser.
-
To create a new post from the Rails console:
rails console
-
Create a new post:
Post.create(title: "My first post from Argentina", body: "This is the body of the post.")