Home » Word Press » Using Github’s "Atom" IDE To Develop Ruby on Rails Apps

Using Github’s "Atom" IDE To Develop Ruby on Rails Apps

Atom.io used to be launched in early 2014 through Github. It used to be their contribution to the woefully under-developed SublimeTextual content providing, which even though used to be a super product, suffered from being premium-only and seldom up to date. Github’s method of open-sourcing the Atom editor used to be a contemporary take on the paintings already carried out through Sublime.

The Atom.io editor is primarily based on the “Electron” framework – a device designed to make HTML / css primarily based programs paintings on local running methods. Simply, which means that the device is in a position to perform an executable utility record with complete local capability – webhosting a NodeJS utility within the backend. Not solely does this give an enormous quantity of capability to the device, but additionally permits you to set up any app constructed with it on a variety of gadgets.

To increase Ruby on Rails programs with Atom.io, you wish to have a number of issues arrange. Firstly, you wish to have to you should definitely have a operating Ruby set up. Once that is in position, you additionally want to be certain you’ll set up the Rails gem on most sensible of it. If you are able to try this, you can then have the ability to get started creating RoR programs – which is the place Atom.io is available in.

To increase a RoR utility, you wish to have to initialize “rails” in a listing of your selection. To do that, open the CMD / Bash command advised and sort “rails new [[app name]]”. This will initialize the entire essential information within the listing. From this, you might be then ready to then run the Rails “server” (“rails s”) which can let you ship and obtain requests to the app from the browser.

From this level, you are able to use Atom to edit any of the information required to make your utility paintings. Since Ruby on Rails works on an “MVC” (Model View Controller) programming development, it is important to create a course, controller motion and look at for any “URL” you need to display to the consumer. To edit the routes, you’ll edit config/routes.rb after which upload a corresponding controller motion in app/controllers/your_controller.rb.

The major factor to believe with Atom is the way in which through which it is ready so as to add further applications to assist with construction. To do that, you would be highest surfing the GitHub Atom web page and spot any of the prospective applications you need to obtain – permitting you to improve the enjoy of your device.

Check Also

Edufast Education | HTML5 Google Banner Ad (Ad Templates)

Edufast Education | HTML5 Google Banner Ad (Ad Templates)

Edufast Education | HTML5 Google Banner Ad (Ad Templates). Edufast Education | Animated Google Banner …