Skip to content

danhbuidcn/rails_fundamental

Repository files navigation

rails_fundamental

Welcome to the develop branch of rails_fundamental. This branch is designed for practicing and exploring Rails concepts and development practices.

Ruby and Rails Versions

  • Ruby version: 3.1.4
  • Rails version: 7.0.8

Getting Started

1. Clone the Repository

Clone the repository and check out the develop branch:

git clone https://github.com/danhbuidcn/rails_fundamental.git
cd rails_fundamental
git checkout develop

2. Run the Application

  1. Create .env file

    cp .env.sample .env
  2. Start Docker Compose:

    docker-compose build
    docker-compose up
  3. Execute Commands in the Web Container:

    docker-compose exec web bundle exec rails db:create
    docker exec -it rails_fundamental_web bash

    Inside the container, run:

    bundle install # install gem
    bundle exec rspec # run test rspec
    rubocop -a # modify the file to conform to the style guidelines set in your RuboCop configuration 
    rails assets:precompile # prepare static assets for deployment

    Navigate to http://localhost:3001 in your browser to view the application.

Contributing

Feel free to contribute by submitting issues or pull requests.

Documentation

Entity Relationship Diagram

Setup Ruby on Rails 7

Build a Blog with Rails 7

See more information

ruby wikipedia

About

learn rails framework from basics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published