Code Monkey home page Code Monkey logo

getting-started's Introduction

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

getting-started's People

Contributors

ricardoveronica avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.