cloud9-ide

Git push to DigitalOcean from Bitbucket or Cloud9

北城余情 提交于 2019-12-08 02:41:33
问题 I'm making site on Cloud9 IDE and I can't find the way to easy push my production code to DigitalOcean droplet server. Maybe there is some simple way I could do it as easy as it is to push code to Heroku from Cloud9 . With simple command from Cloud9 console. All my git code lives in Bitbucket so maybe you have ideas how to connect it to DigitalOcean ? Hope to hear how you do these production "pushes". You probably have well known techniques for these things. Help! 回答1: Your first, easy,

Node.js and socket.io don't work on Cloud9 IDE

删除回忆录丶 提交于 2019-12-07 06:42:55
问题 Does anyone has experience to have Node.js and socket.io working on Cloud9 IDE? The "Example (NodeJS with Socket.io)" (at https://c9.io/site/blog/2013/05/native-websockets-support/) doesn't work. First, the server (https://c9.io/etlolap/webapp, /test.js) throws an error unless I fix as follow. I clicked Run button while test.js is on active tab. var socketIo = require('socket.io'), io = socketIo.listen(Number(process.env.PORT)); io.sockets.on('connection', function (socket) { socket.emit(

cloud9-ide collaboration in self hosted possible?

旧时模样 提交于 2019-12-07 04:44:16
问题 Is it possible to have the collaboration and workspace sharing features in a self-hosted environment built from https://github.com/ajaxorg/cloud9? 回答1: it is possible with the newer version from https://github.com/c9/core, just pass --collab flag to the server.js script 回答2: The --collab flag activated the "Share" and "Collaborate" buttons for me, but the actual feature doesn't work. When adding a user, I get Error adding workspace member: Cannot POST /api/collab/0/members/add?silent=false

running code on BeagleBone using Cloud9 IDE

核能气质少年 提交于 2019-12-06 16:46:23
问题 I am very new to BeagleBone. I have been using Arduino upto now. I plug my BeagleBone into my Linux laptop, and connect BeagleBone to my router. I can open Cloud9 off the board by browsing to 192...:3000. I want to load and run this code: https://github.com/jadonk/bonescript described here: http://www.gigamegablog.com/2012/01/05/beaglebone-coding-101-blinking-an-led/ On the File menu I can not find any option to create a new project. How am I suppose to load code into Cloud9 ? 回答1: You don't

rake db:test:load, undefined method `[]' for nil:NilClass

回眸只為那壹抹淺笑 提交于 2019-12-06 16:22:34
I want create test database. Development database have following settings: development: adapter: mysql2 encoding: utf8 database: c9 username: <%=ENV['C9_USER']%> host: <%=ENV['IP']%> When i run command: rake db:test:load --trace , displayed error: rake aborted! NoMethodError: undefined method `[]' for nil:NilClass /usr/local/rvm/gems/ruby-2.0.0-p247/gems/activerecord-3.2.22/lib/active_record/railties/databases.rake:526:in `block (3 levels) in <top (required)>' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/rake-10.4.2/lib/rake/task.rb:240:in `call' /usr/local/rvm/gems/ruby-2.0.0-p247/gems/rake-10.4

“Git Push Heroku Master” - Cannot login to heroku - Cloud9 IDE

半城伤御伤魂 提交于 2019-12-06 07:43:23
Having troubles with heroku. This problem kind of came out of nowhere. I've been pushing updates for months without error and all of a sudden I'm having problems. When I do Git Push Heroku Master (on C9) I get prompted to login: > remote: ! WARNING: remote: ! Do not authenticate with > username and password using git. remote: ! Run `heroku login` to > update your credentials, then retry the git command. However if I run "heroku login" I get this error: undefined method `[]' for nil:NilClass /usr/local/heroku/lib/heroku/jsplugin.rb:59:in `commands' /usr/local/heroku/lib/heroku/jsplugin.rb:208

How to delete an old version of mongodb and install the new one in cloud9 IDE?

被刻印的时光 ゝ 提交于 2019-12-06 04:59:20
I'm using the cloud9 IDE and I'm trying to connect through the mongo shell to a mongodb instance running on mongolab. Mongolab now runs mongodb version 3.0 but cloud9 has version 2.6 installed. I've tried following the instructions on the mongodb website for installing on ubuntu 14.04 using the mongodb binaries, and although all of the commands it instructed me to use were executed without errors, I didn't understand exactly what was happening, and when I checked the mongodb version with mongod --version it still said I was running the old version - 2.6.10 Can someone explain the steps to

Not able to run meteor in cloud ide, need help to understand meteor memory usage

北战南征 提交于 2019-12-06 04:33:47
I’m new to both meteor and web frameworks [Core C/C++ developer]. When I tried meteor apps in cloud IDE (both cloud9 and Koding), sample apps runs fine. But, if I add twbs:bootstrap package, the IDE kills meteor (mongodb) due to insufficient memory (Cloud9 has 768MB and Koding provides 1GB). Also noted that the disk space grows from 60mb initial to some 200+ mb, just for adding one package (twbs:bootstrap). Hence, I’m not able to proceed further with meteor in cloud. Is it normal that meteor uses this much RAM and disk space? If so, why it uses such huge memory? This wouldn’t be problem for

Is there an offline mode in Cloud 9 IDE

风流意气都作罢 提交于 2019-12-06 02:51:17
问题 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 回答1: 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

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

為{幸葍}努か 提交于 2019-12-05 17:43:03
问题 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? 回答1: No. When you'll first connecting to bitbucket, ssh client on your machine will store RSA fingerprint in file called known_hosts