This is a sample starter project for Ruby on Rails with React and Typescript.
- Run
$ bundle install
to install all of the gems necessary to run the project. - Run
$ yarn
to install all necessary node-modules - Run
./bin/webpack-dev-server --host 127.0.0.1
to set up webpack dev server - This project uses foreman to run both the rails and webpack servers at the same time. Therefore, run
$ foreman start
to start the project.
Go to localhost:5000
and you should see 'Greeting: Hello' in the top left corner.