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

Update install generator #4

Merged
merged 1 commit into from
Apr 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 30 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,44 @@
# Welcome to Hyperloop

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

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

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).
### Simplicity
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.

### Isomorphic Ruby
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.

### Setup
### Complete Architecture
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.

In your `Gemfile`
## Getting Started

1. Update your Gemfile:

```ruby
#Gemfile

gem 'hyperloop'
```

then
2. At the command prompt, update your bundle :

```ruby
bundle install
```
$ bundle update

Once the Hyperloop Gem and all its dependencies have been installed, it's time to run the hyperloop install generator.
3. Run the hyperloop install generator:

$ rails g hyperloop:install

4. Follow the guidelines to start developing your application. You may find
the following resources handy:
* [Getting Started with Hyperloop](http://ruby-hyperloop.io/start)
* [Hyperloop Guides](http://ruby-hyperloop.io/docs/architecture)
* [Hyperloop Tutorial](http://ruby-hyperloop.io/tutorials)


## License

Ruby on Rails is released under the [MIT License](http://www.opensource.org/licenses/MIT).

```ruby
rails g hyperloop:install
```
Binary file added hyperloop-logo-small-pink.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions lib/generators/hyperloop/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def inject_react_file_js
end

def inject_engine_to_routes
route 'mount Hyperloop::Engine => \'/rr\''
route 'mount Hyperloop::Engine => \'/hyperloop\''
end

def create_hyperloop_directories
Expand Down Expand Up @@ -45,7 +45,6 @@ def create_initializer

Hyperloop.configuration do |config|
config.transport = :simple_poller
config.import 'reactrb/auto-import'
end

RUBY
Expand Down