File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
ruby/rails-hyperstack/lib/generators/hyperstack Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,16 @@ Each of these pieces can be skipped or installed independently either using
5757built in installers and generators, or manually as explained in the
5858following sections.
5959
60+ At this point, you're fully installed.
61+
62+ If you're installing into a new rails app, you can run bundle exec foreman start
63+ to start the server, and "app" will display on the top left hand side of the page.
64+
65+ If you're installing into an existing Rails apps, you can run bundle exec foreman start
66+ to start the server, and your app should funcion exactly as it always has. From here, you'll need to
67+ [ add a Hypercomponent] ( #<user-content-adding-a-single-component-to-your-application> )
68+ to have Hyperstack funcionality.
69+
6070## Summary of Installers and Generators
6171
6272```
Original file line number Diff line number Diff line change @@ -164,6 +164,9 @@ def report
164164 unless skip_adding_component?
165165 say "🎢 Top Level App Component successfully installed at app/hyperstack/components/app.rb 🎢" , :green
166166 end
167+ if !new_rails_app?
168+ say "🎢 Top Level App Component skipped, you can manually generate it later 🎢" , :green
169+ end
167170 unless skip_webpack?
168171 say "📦 Webpack integrated with Hyperstack. " \
169172 "Add javascript assets to app/javascript/packs/client_only.js and /client_and_server.js 📦" , :green
@@ -204,7 +207,7 @@ def new_rails_app?
204207 # check to see if there are any routes set up and remember it, cause we might add a route in the process
205208 @new_rails_app ||= begin
206209 route_file = File . join ( 'config' , 'routes.rb' )
207- count = File . foreach ( route_file ) . inject ( 0 ) do | c , line |
210+ count = File . foreach ( route_file ) . inject ( 0 ) do |c , line |
208211 line = line . strip
209212 next c if line . empty?
210213 next c if line . start_with? ( '#' )
You can’t perform that action at this time.
0 commit comments