cloud9-ide

Is there an offline mode in Cloud 9 IDE

﹥>﹥吖頭↗ 提交于 2019-12-04 05:19:15
Where I work at this moment the internet keeps cutting out. Is there an offline mode in Cloud 9 IDE, with which I could cache/pre-download all of the source files in advance and if the network goes down temporarily I could keep working and later sync the changes when it is back again? Thanks This is an important use case. We don't offer this yet and are looking into adding the offline feature to our platform. 来源: https://stackoverflow.com/questions/26078317/is-there-an-offline-mode-in-cloud-9-ide

The authenticity of host 'bitbucket.org (131.103.20.168)' can't be established

六眼飞鱼酱① 提交于 2019-12-04 02:28:05
In Cloud9 I do: $ git push -u origin --all The authenticity of host 'bitbucket.org (131.103.20.168)' can't be established. RSA key fingerprint is 97:8c:1b:f2:6f:14:6b:5c:3b:ec:aa:46:46:74:7c:40. Are you sure you want to continue connecting (yes/no)? I added the ssh-key from cloud9 to Bitbucket. Shouldn't that be enough to have Bitbucket authenticated by Cloud9? Esse No. When you'll first connecting to bitbucket, ssh client on your machine will store RSA fingerprint in file called known_hosts . Then before each connection server fingerprint will be validated with stored one (to avoid man-in-the

Cloud9 Watir/Selenium Testing

帅比萌擦擦* 提交于 2019-12-03 21:36:00
I have set up Cloud9 and Codeship for a simple Continuous Integration and Delivery system. It works well for developing my website/app. Has anyone been able to develop and run browser based Cucumber tests from within the Cloud9 IDE? If so, what kind of set-up did it require? PS. I have been trying to get the Watir/Selenium chromedriver installed and working with the 'headless' gem. First an explanation. I found it very easy to set up github, c9.io, and codeship for CI and CD using Cucumber for acceptance testing on Codeship. Unfortunately, developing the Cucumber tests was difficult, because I

How to use Rails Composer and postgreSQL on Cloud9 and deploy on Heroku

…衆ロ難τιáo~ 提交于 2019-12-03 16:27:49
The process of using Rails Composer to create a rails app using postgreSQL on Cloud9 and deploying on Heroku is fraught with warnings and errors that can confound a new developer. Are there any instructions that can help me get through the process and deploy my starter app? I believe in the rails composer, cloud9 and heroku and the latter's recommended postgreSQL database though using them all together has a lot of little details that no one source clarifies how to get around. After spending many nights working it out, I've created the following list of instructions which works as of the

Cloud9 IDE local themes

岁酱吖の 提交于 2019-12-03 16:10:00
The Cloud9 IDE docs say you can import a Textmate theme, but i cant figure it out. Can some one explain step-by-step how i can do this. Im trying to include the theme on my localhost by the way. I found this link, but i still dont get it... https://groups.google.com/forum/#!msg/ace-discuss/kLgJFe2l2YY/47QvhIowqqMJ . The above url also mentioned being able to edit already existing themes. This would also come in handy if any one knows how to / where the files are located. Follow these steps, assuming my theme name is 'pretty.tmTheme': Copy pretty.tmTheme to 'cloud9/node_modules/ace/tool

How to declare ports in Cloud9 using Python

谁说我不能喝 提交于 2019-12-03 14:38:43
I'm new to using Cloud9 IDE (c9) and so far it looks great, except a few minor things. I see from the docs that to start up a simple node.js http server, you have to pass in process.env.PORT in place of the regular port such as "8080". Node Hello World example : var http = require('http'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}); res.end('Hello World\n'); }).listen(process.env.PORT, process.env.IP); What I want to know is, on c9, can you only start services on ports using javascript / node.js? Or do other languages work just as well, perhaps

Sending email using Gmail SMTP - Meteorjs

时光怂恿深爱的人放手 提交于 2019-12-03 14:35:42
Hi I am trying set up my gmail account to send email for my Meteor app, not very easy so far server.js Meteor.startup(function () { smtp = { username: 'xxxxx', // eg: server@gentlenode.com password: 'YYYYYYYY', // eg: 3eeP1gtizk5eziohfervU server: 'smtp.gmail.com', // eg: mail.gandi.net port: 465 } process.env.MAIL_URL = 'smtp://' + encodeURIComponent(smtp.username) + ':' + encodeURIComponent(smtp.password) + '@' + encodeURIComponent(smtp.server) + ':' + smtp.port; }); Email.send({ from: "meteor.email.2014@gmail.com", to: "xxxx@gmail.com", subject: "Meteor Can Send Emails via Gmail", text:

c9.io - how to find the host address to make a mysql connection in node.js platform

纵然是瞬间 提交于 2019-12-03 14:19:57
I am trying to host my node.js app in Cloud 9 Server . In order to make a mysql connection, I need to know the host address. This page says in a very absurd (I think I am right ) way : Hostname $IP The same local IP as the application you run on Cloud9 But where do I get the local IP from ? Nowhere in the docs I found it. Any idea ? EDIT : I used 127.0.0.1 , 0.0.0.0( from echo $IP in the terminal as suggested in an answer) and the values from hostname -I and curl curlmyip.com in the terminal. 4 different IP addresses. None worked. I found this on the Cloud9 documentation : You can then connect

Rails-tutorial Chapter 1: rails server isn't working on Cloud9

烂漫一生 提交于 2019-12-02 23:58:42
https://www.railstutorial.org/book/beginning#sec-rails_server I have reached this step, and I'm using the cloud9 environment. When I run the server as per Listing 1.7 on that tutorial, however, I get this error: myname@rails-tutorial:~/workspace/hello_app $ rails server -p $PORT -b $IP => Booting WEBrick => Rails 4.2.0.beta2 application starting in development on http://0.0.0.0:8080 => Run `rails server -h` for more startup options => Ctrl-C to shutdown server [2014-10-30 21:44:22] INFO WEBrick 1.3.1 [2014-10-30 21:44:22] INFO ruby 2.1.1 (2014-02-24) [x86_64-linux] Exiting /usr/local/rvm

Meteor accounts-twitter unable to get working

寵の児 提交于 2019-12-01 11:00:29
I've been having a go at Meteor. I want to use OAuth to authenticate users on my site as I do not want to implement the login features myself. At the moment my website is very simple. A counter, where you click a button the counter increases by one. The idea being when a user goes to another machine and logs in their count is persisted. I have followed the steps on meteor.com/accounts . meteor add accounts-twitter and meteor add accounts-ui Added {{> loginButtons}} to HTML. In Cloud9 terminal meteor --port $IP:$PORT Followed the on screen instructions on apps.twitter.com Set website abc