Ruby on Rails Powered by GlobalSolutions
Ruby on Rails
Powered by GS
Ruby is a Programming language. Rails is a software code that is added to the Ruby Programming language. Rails is a web application development
framework written in the Ruby language. It is designed to make programming web applications easier. Many web programming tasks such as
generating HTML, routing URLS and making data models are very easy with Rails.


We have removed all the hurdle in installing and configuring Ruby on Rails making it easier for the developers to focus on the rail projects rather
than to spend time in installing and configuring the stack on the windows environment.

 
How to Access our AMIs from AWS Marketplace
For more information please refer to this url - http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/connecting_to_windows_instance.html
 
Installation Location
Category Version Used Location
Ruby 2.5.5p157 C:\Ruby
Rails 5.2.3
Sqlite 3-1.4.1
Notepad++ 7.7.1 C:\Program Files\Notepad++
 
To Create a New Application
  • The first thing you want to do is create a new Rails application, to do this go to the command prompt and enter “rails new YOUR APPLICATION NAME” .This will create the application folder from where you ran the command. For example if you run the following command “rails new blog” from c:\ , then you will see a blog folder created with all the required files underneath it.
  • After running the above step the entire Rails directory structure with all the code required to run the application will be ready.
  • Then from your new applications directory (created in step 1) run the command rails server which will launch a server that is bundled with Ruby.
  • Now you can access your application through a web browser.
  • Point your browser to http://www.localhost:3000 where your Rails application will be running.
Sample Application
  • We have created a sample rails application, and the shortcut of it is on the desktop. Click on the shortcut , it will take you to C:\ruby_application\webapp . And from there open a command prompt and run the command rails server which will launch a server that is bundled with Ruby.
  • Now in order to see the application through a web browser point your browser to http://www.localhost:3000 where the Rails application will be running.
How to access your application from the Web

  • Make sure to get an Elastic IP and associate it with the instance
  • If you have a domain name, goto the DNS settings and update the IP address
  • And then you have to bind that Elastic IP with the rail server as follows in the command prompt , which we have mentioned above.
    • C:\ruby_application\webapp>rails server --binding=Elastic_IP
  • Now you can access the application from outside using the domain name or Elastic IP

Support

Please contact us at support@theglobalsolutions.net for any questions on this offering in AWS Marketplace.
 
copyright - © 2016,The Globalsolutions LLC. or its affiliates. All rights reserved.