Last Updated: December 26, 2018
·
2.883K
· royletron

Meteor[ite] on Cloud9

Picture
I am really starting to get into using Cloud9, a fantastic web based IDE. Don't worry, I am not on the payroll, but I really recommend you check it out. It is easily the closest thing to a fully working IDE in the cloud so far.

So anyway the first thing you probably want to know with a cloud IDE is "can I do my job?". In the case of client-side Javascript and Rails you most definitely can. It must be said that the terminal service that comes with Cloud9 is hit and miss, but it is stronger than you would imagine. More recently I have been doing a lot of playing with Meteor and I wanted to see how easy it would be to get Meteor running on Cloud9. Thankfully somebody else had the same idea and produced this, but being a devout Meteorite user I wanted to see if I could get further. After a quick glance at the changes to the Meteor codebase in the previous link it seemed clear that it was all down to port and IP binding (something else Cloud9 is particular about). So I took the diff file from the c9Installer, forked Meteor, made the same changes, changed my smart.json to point to my modified and BOOM... Meteorite on Cloud9. Smart.json looks as follows (you can use my repo or fork your own):

"meteor": {
    "git": "https://github.com/royletron/meteor.git",
    "branch": "master"
}

Important point! Once you have your project running in Cloud9 you need to use the following url pattern to access it

http://PROJECT NAME.USERNAME.c9.io/

Took me a little while to work out how Cloud9's stage domains worked :P

3 Responses
Add your response

This does no longer seem to work.. Do you have any idea how to fix it? Or could you perhaps give a more extensive guide?

It seems to me the problem is that meteorite has not installed meteor.. but that seems silly.

over 1 year ago ·

Hey Kuzmin,

I actually moved from Cloud9 over to Nitrous.io as that has support for Meteor (and a lot of other awesome things) straight out of the box. You can sign up for the public beta for free and dive right in:

https://www.nitrous.io/

Not sure where their prices are going to go when they go live, but you would imagine they would have to see C9 as the benchmark.

If that isn't a move you are able to make let me know, and I will endeavour to spend some time to produce a more up to date and detailed solution. Just to answer your point, Meteorite actually copies Meteor to the machine on launch. If you are getting any specific errors send them over

Darren

PS I have absolutely no affiliation to Nitrous!!

over 1 year ago ·

Super!

over 1 year ago ·