Questions tagged [cloud9]

Cloud9 is a cloud-based development environment that combines an online code editor with a full Ubuntu workspace. Supports more than 40 languages including PHP, Ruby, Python, JavaScript, Go.

342 questions
0
votes
1 answer

Cant retrieve data from SQL in PHP with the use of Cloud9(c9)

I can't retrieve values from SQL with the use of PHP in cloud9(C9). I am getting the following error (warning). mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in /home/ubuntu/workspace/index.php
0
votes
1 answer

What text editor to use in conjunction with console commands that I am used to

I'm very new to coding and have just completed an online course where the cloud-based system Cloud9 was used throughout. Now I'm starting my own project and I want to work offline. As such I've downloaded 'sublime text' which was recommended to me…
DevB1
  • 1,235
  • 3
  • 17
  • 43
0
votes
2 answers

How to widen the terminal window in Cloud9 IDE?

Is there a layout in the Cloud9 IDE that will widen the terminal window to the full width of the browser? (similar to how Nitrous.io used to look, picture attached). Wondering if this is possible in the C9 settings.
GraySmith00
  • 179
  • 1
  • 8
0
votes
0 answers

Input POST data into MySQL table not working

having some trouble inputting user data from input fields into my MySQL table. Here's the code. Any help appreciated.
First Name:
0
votes
1 answer

Can't upload file using Watir, Headless Browser, Chromedriver, using Ruby

I am trying to automate the creation of a listing on my website and I am having a lot of difficulty uploading an image for the listing. I am using Cloud9 and Watir, and using a headless chrome browser and the code is written in Ruby. For some reason…
ByteMe
  • 1,159
  • 2
  • 15
  • 28
0
votes
2 answers

Received odd RVM error in workspace, now rails commands aren't working

I just logged into my Ubuntu workspace on Cloud9. Upon logging in I saw an error. RVM used your Gemfile for selecting Ruby, it is all fine - Heroku does that too, you can ignore these warnings with 'rvm rvmrc warning…
user7630939
0
votes
1 answer

Creating Node.JS HTTPS server in Cloud9 IDE

Is it somehow possible to create a Node.js https server in cloud9 IDE? Below is my example of simple https server setup in Node.js. var https = require('https'); var fs = require('fs'); var app = require('./app'); // SSL Configuration var ca_names…
Raimo Johanson
  • 246
  • 2
  • 6
0
votes
1 answer

I've created a node app through cloud 9, but how do I connect my app with my website?

I've made a Node.js app, and it functions on Cloud 9 as an HTML page, but I want to move it to a web address that I currently own and for the life of me I can't seem to figure out how to link the backend to the front end. I'm going to try to deploy…
Branduo
  • 186
  • 2
  • 12
0
votes
3 answers

How do you suppress a warning/error in Python and or Cloud9 IDE?

I am using the Cloud9 IDE and have created a Python project. However, I keep getting the error in my editor on one line, which is not an error when i run it, which says: Instance of 'dict' has no 'columns' member How can I suppress this error,…
WJA
  • 6,676
  • 16
  • 85
  • 152
0
votes
1 answer

Rails app deployed from Cloud9 through git to Heroku fails do display login screen

I have setup a simple authorization in Rails 5 app on Cloud9 following this gist https://github.com/equivalent/scrapbook2/blob/master/archive/blogs/2016-09-simple-ralis-authentication-for-one-user.md it works perfectly on Cloud9, but when I deploy…
Pets
  • 115
  • 10
0
votes
1 answer

Virtual environment doesn't work on Cloud9

Cloud9 (an online ide) doesn't seem to support my virtual environment: me:~/workspace/dir (master) $ source venv/bin/activate (venv) me:~/workspace/dir (master) $ which python /usr/bin/python This same virtual directory worked fine on my local…
Bren
  • 3,516
  • 11
  • 41
  • 73
0
votes
0 answers

Why does git not see my cloud9 project's uncommitted changes when starting a new terminal?

I am currently working on a cloud9 project. I have a directory of folders and files in the workspace area of the program already unzipped and ready to go. When I am working in my bash terminal and I just so happen to close it by mistake it won't let…
Barnes711
  • 21
  • 2
0
votes
1 answer

Migrating from SQLite to Postgres for deployment on Heroku. PG::ConnectionBad. Using Cloud9

I'm trying to migrate from SQLite to Postgres so the app deploys correctly on Heroku. But I'm not having any luck. rake aborted! PG::ConnectionBad: could not connect to server: Connection refused Is the server running on host "localhost"…
Jason
  • 57
  • 1
  • 7
0
votes
2 answers

Git not to push/delete empty folder

I have my development environment in Cloud9 and I push to Heroku using git. I'd like to have some folders inside Heroku environment not deleted by the deploy command. So I've added these lines in my .gitignore…
0
votes
1 answer

Cloud9 IDE - Getting Workspace URL and user email in terminal

I'm writing a bash script, and I need to get from within the terminal current workspace URL and the cloud9 user email. I've tried: Extracting the data from hostname variable, but it's not the workspace domain. Extracting it from the .c9 project…
BenB
  • 2,747
  • 3
  • 29
  • 54