Skip to content
This repository has been archived by the owner on Nov 15, 2020. It is now read-only.

keymastervn/ReactOnRailsCoronaPhotocopyScubaParachute

Repository files navigation

rails-examination

I made rails 5.2.3 to work with react-on-rails with ajaxify datatable. It was a joy!

Migrate

RDS_DB_NAME: rails-examination_development
RDS_USERNAME: postgres
RDS_PASSWORD: postgres
RDS_HOSTNAME: localhost
RDS_PORT: 5432
SECRET_KEY_BASE: 'insert here' # rails credentials:edit
RAILS_ENV: development

Then

$ rails db:create
$ rails db:migrate
$ rails db:seed

Serve

Run separately

$ rails s
$ ./bin/webpack-dev-server

or with foreman as described

// Then run server with static client side files:
$ foreman start -f Procfile.dev
// To run with the webpack-dev-server:
$ foreman start -f Procfile.dev-server

About

Just a test for react-on-rails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published