Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sample application using rails, reactJS, webpacker and Jest testing.

License

NotificationsYou must be signed in to change notification settings

masudcsesust04/rails-react

Repository files navigation

Sample application to create web application using Ruby on Rails and reactJS. Please make sure you have installed ruby, nodejs, npm, yarn, mysql etc.

Intall ruby 2.4.2 using rbenv

rbenv install 2.4.2rbenv rehash

System dependencies

gem install bundlerbundle install --path vendor/bundle

Check nodeJS version (>=v6.12.3)

node -v or nodejs -v

Node package manager version (>=3.10.10)

npm --version

Install yarn

sudo npm install -g yarn

Check out master branch

git fetchgit checkbout master

Install node packages using yarn

yarn install

Configuration

Save as following files as yml. Update database configuration and development secret key.

config/database.yml.exampleconfig/secrets.yml.exampleconfig/webpacker.yml.example

Database creation

bundle exec rake db:create

Database initialization

bundle exec rake db:migrate

Load seed data

bundle exec rake db:seed

Run application

bundle exec rails s

Deployment instructions

....

About

Sample application using rails, reactJS, webpacker and Jest testing.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp