RicardoVeronica / getting-started

The Ruby on Rails Blog project is a simple blog web application with full CRUD functionality

Home Page:https://guides.rubyonrails.org/getting_started.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Ruby on Rails Blog Project

Rails tutorial

Software version

Ruby version Rails version SQLite version

Description

The Ruby on Rails Blog project is a simple blog web application that allows users to create, edit, and delete blog posts. It also includes basic user authentication, with http_basic_authenticate_with method. Use the Simple.css Framework

What you will learn

  • How to install Rails, create a new Rails app, and connect it to DB
  • The general layout of a Rails app
  • The basic principles of MVC and RESTful design
  • How to quickly generate the starting pieces of a Rails app

Installation

Before running the project, please ensure you have the following prerequisites installed on your system:

Once you have the prerequisites set up, follow these steps to run the project:

  1. Clone this repository to your local machine using the following command:
git clone https://github.com/RicardoVeronica/getting-started
  1. Change directory to the project folder:
cd getting-started
  1. Install the required gems:
bundle install
  1. Create the database and run migrations:
rails db:create
rails db:migrate
  1. Start the Rails server:
rails server
  1. Open your web browser and navigate to http://localhost:3000 to access the blog application.

Usage

The Ruby on Rails Blog project allows users to perform the following actions:

  • Sign Up: Users can create a new account to access the blog application.
  • Sign In: Registered users can sign in to their accounts.
  • Create Post: Authenticated users can create new blog posts with a title and content.
  • Edit Post: Users can edit their own posts.
  • Delete Post: Users can delete their own posts.
  • View Posts: Users can view a list of all blog posts on the homepage.

Contributing

If you wish to contribute to this project, please follow these steps:

  1. Fork the repository on GitHub.
  2. Create a new branch with a descriptive name:
git checkout -b feature/your-feature-name
  1. Make your changes and commit them with clear commit messages.
  2. Push your changes to your forked repository.
  3. Submit a pull request to the main repository with a detailed explanation of your changes.

License

The Ruby on Rails Blog project is open-source software released under the MIT License.

Acknowledgments

Special thanks to the Ruby and Ruby on Rails communities for their valuable contributions and support.

If you have any questions or need further assistance, please go to: Rails Forum

About

The Ruby on Rails Blog project is a simple blog web application with full CRUD functionality

https://guides.rubyonrails.org/getting_started.html


Languages

Language:Ruby 73.7%Language:HTML 21.1%Language:JavaScript 3.3%Language:CSS 1.9%