This will create a new Rails app with Webpacker and the current released Hyperstack gems by running the installation template in the edge branch.
- Linux or Mac system
(Android, ChromeOS and Windows are not supported) - Ruby on Rails must be installed: https://rubyonrails.org/
- NodeJS must be installed: https://nodejs.org
- Yarn must be installed: https://yarnpkg.com/en/docs/install
Simply run the command below to create a new Rails app with Hyperstack all configured:
rails new MyAppName --template=https://rawgit.com/hyperstack-org/hyperstack/edge/install/rails-webpacker.rbAlternativly, if you like you can also download the template file (the part after --template=) and read the contents,
it shows how a Hyperstack Rails project differs from a plain Rails project.
The downloaded file can then be referenced from the local filesystem.
rails new MyAppName --template=rails-webpacker.rb- Run
foreman startfrom a console to start the Ruby on Rails server and Opal HotReloader - Navigate to http://localhost:5000
If you are new to developing an application based on Hyperstack we suggest you follow the todo tutorial.