Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit 2089e5f

Browse files
authored
Merge pull request #4 from fzingg/fzinggupdates
Update install generator
2 parents 3078fb9 + 5505717 commit 2089e5f

File tree

3 files changed

+31
-15
lines changed

3 files changed

+31
-15
lines changed

README.md

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,44 @@
1+
# Welcome to Hyperloop
12

2-
## Hyperloop - The Complete Isomorphic Ruby Framework
3+
![Screen](https://github.com/ruby-hyperloop/hyperloop/blob/master/hyperloop-logo-small-pink.png)
34

4-
Hyperloop works great with new or existing rails apps, so it's pain free to introduce it to your application.
5+
## Hyperloop - The Complete Isomorphic Ruby Framework
56

6-
Hyperloop has been tested with the most recent Ruby On Rails verions:<br> Rails (4.2), Rails (5.0) and the last Rails (5.1.0.rc1).
7+
### Simplicity
8+
Build interactive Web applications quickly. **Hyperloop** encourages rapid development with clean, pragmatic design. With developer productivity as our highest goal, **Hyperloop** takes care of much of the hassle of Web development, so you can focus on innovation and delivering end-user value.
79

10+
### Isomorphic Ruby
11+
One language. One model. One set of tests. The same business logic and domain models running on the clients and the server. Hyperloop is fully integrated with Rails and also gives you unfettered access to the complete universe of JavaScript libraries (including React) from within your Ruby code. Hyperloop lets you build beautiful interactive user interfaces in Ruby.
812

9-
### Setup
13+
### Complete Architecture
14+
Everything has a place in our architecture. **C**omponents deliver interactive user experiences, **O**perations encapsulate business logic, **M**odels magically synchronize data between clients and servers, **P**olicies govern authorization and **S**tores hold local state.
1015

11-
In your `Gemfile`
16+
## Getting Started
1217

18+
1. Update your Gemfile:
19+
1320
```ruby
21+
#Gemfile
22+
1423
gem 'hyperloop'
1524
```
1625

17-
then
26+
2. At the command prompt, update your bundle :
1827

19-
```ruby
20-
bundle install
21-
```
28+
$ bundle update
2229

23-
Once the Hyperloop Gem and all its dependencies have been installed, it's time to run the hyperloop install generator.
30+
3. Run the hyperloop install generator:
31+
32+
$ rails g hyperloop:install
33+
34+
4. Follow the guidelines to start developing your application. You may find
35+
the following resources handy:
36+
* [Getting Started with Hyperloop](http://ruby-hyperloop.io/start)
37+
* [Hyperloop Guides](http://ruby-hyperloop.io/docs/architecture)
38+
* [Hyperloop Tutorial](http://ruby-hyperloop.io/tutorials)
39+
40+
41+
## License
42+
43+
Ruby on Rails is released under the [MIT License](http://www.opensource.org/licenses/MIT).
2444

25-
```ruby
26-
rails g hyperloop:install
27-
```

hyperloop-logo-small-pink.png

9.47 KB
Loading

lib/generators/hyperloop/install_generator.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def inject_react_file_js
1111
end
1212

1313
def inject_engine_to_routes
14-
route 'mount Hyperloop::Engine => \'/rr\''
14+
route 'mount Hyperloop::Engine => \'/hyperloop\''
1515
end
1616

1717
def create_hyperloop_directories
@@ -45,7 +45,6 @@ def create_initializer
4545
4646
Hyperloop.configuration do |config|
4747
config.transport = :simple_poller
48-
config.import 'reactrb/auto-import'
4948
end
5049
5150
RUBY

0 commit comments

Comments
 (0)