Skip to content

hanwenzhang123/react-on-rails-boilerplate

Repository files navigation

Boilerplate code

Solving M1 chip MacBook with a hard time running rails new to create a new project using Ruby version 3.2.2.

Download Ruby view Homebrew

brew install [email protected]
brew link --overwrite [email protected] --force
echo 'export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc

Start the App

Back End

# Install Dependencies
bundle install

# Databse Related Setup
bundle exec rails db:create
bundle exec rails db:migrate
bundle exec rails db:seed

# Start the Backend Server
bundle exec rails server -p 3000

Front End

# Install Dependencies
yarn install

# Building Frontend
yarn build

# Start the Client
yarn start

About

Solving M1 chip MacBook with a hard time running rails new to create new project using Ruby version 3.2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published