Welcome to the develop
branch of rails_fundamental. This branch is designed for practicing and exploring Rails concepts and development practices.
- Ruby version: 3.1.4
- Rails version: 7.0.8
Clone the repository and check out the develop
branch:
git clone https://github.com/danhbuidcn/rails_fundamental.git
cd rails_fundamental
git checkout develop
-
Create .env file
cp .env.sample .env
-
Start Docker Compose:
docker-compose build docker-compose up
-
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.
Feel free to contribute by submitting issues or pull requests.