Questions tagged [codio]

Codio is a cloud-based visual front-end IDE.

Codio is a cloud-based visual front-end IDE that covers the complete web development cycle, from prototype to deployment.

52 questions
0
votes
1 answer

Python - how to replace occurances in text files?

I am working on my school work for 'Intro to Scripting' and I am stuck on how to replace in a text file. The challenge is asking me to read the contents of the text file, which I did with the code below: filepath = I file1 = open(filepath,…
Heather
  • 3
  • 1
  • 5
0
votes
1 answer

Creating a basic RESTful design

I need to Create the following... a basic web service using the RESTful design pattern to implement the following URIs: http://localhost/hello?name=”world” The above URI should return the following JSON-format text: { hello: “world” } but I am…
Penfold
  • 1
  • 2
0
votes
1 answer

MongoDB Python Codio Add a new document to the collection

So I'm supposed to use Codio to create a Python file that creates a new document to the existing MongoDB collection called 'inspections' in the database 'city' But it's not successfully adding the new document to the collection. Click here for…
0
votes
2 answers

Name isn't defined when i try to print a split list in python

My code is giving me a name not defined error: Traceback (most recent call last): File "split.py", line 22, in print(even) NameError: name 'even' is not defined Here's the instructions, and what I have written.. if someone could point me in the…
0
votes
1 answer

2 decimal places instead of one, but code is not requiring a float

I'm trying to understand how to get 2 decimal places in this code. Codio is reading it as one. It is not requiring a float command. If I were to enter a float, where would I actually add the $%.2f command in regard to this string. I am very new to…
Ryan Miller
  • 19
  • 1
  • 5
0
votes
2 answers

ATM SCRIPT CODIO - Trying to understand my error. Any insight would be appreciated

I am new to coding, and I am trying to understand why I am getting this error. It's some sort of spacing error, and I've been working on this for quite a while now. Any insight would be appreciated. I've also inserted my error on codio. Actual…
Ryan Miller
  • 19
  • 1
  • 5
0
votes
1 answer

Add a new button called logout that prints 'Goodbye' when clicked

#!/usr/bin/python # -*- coding: utf-8 -*- import sys from PyQt4 import QtGui global username username = " " class Home(QtGui.QWidget): def __init__(self): super(Home, self).__init__() self.initUI() def initUI(self): font =…
mahal
  • 1
0
votes
3 answers

Addition with One input

I am using codio and ran into a challenge that doesn't make sense to me. It says "Your code should expect one input. All you need to do is add 12 to it and output the result". I am new to Python and was wondering if someone could explain what this…
0
votes
1 answer

Installing mongodb 3.2 in Codio using the built-in Terminal (Ubuntu 14.04.3)

I am trying to install mongodb 3.2 into codio using the terminal and I am following the guide on their website here. (I'm new to mongodb and nosql) I got to Step 4 Installing mongodb using this command: sudo apt-get install -y mongodb-org Got the…
XiOnCe
  • 13
  • 1
0
votes
1 answer

Cannot Preview my Sinatra App in Codio at Port 9292 (I can at 4567)

I'm using Codio to create a Sinatra app. Obviously, since it's cloud-based, I've added the line set :bind, '0.0.0.0' to app.rb. I've also set my database.yml file to say host: 0.0.0.0for both the development and test environments. (I'm using…
0
votes
2 answers

Having issue with Laravel 5 in Codio

Am trying to install Laravel 5 using Nginx on the cloud based IDE Codio following this tutorial "Laravel, Codio, and Nginx " After setting everything, the browser show the content of the puplic/index.php and not the default Laravel welcome page.
Asme Just
  • 1,287
  • 5
  • 27
  • 42
0
votes
0 answers

Codio: command not found

It's my first time playing with Codio. I cloned https://github.com/divshot/polymer-firebase-qa into a new project. Then I followed the readme and did npm install && bower install which finished with no errors. Continuing, I did grunt serve which…
themirror
  • 9,963
  • 7
  • 46
  • 79
0
votes
1 answer

Codio Beginner Questions

I am new to Codio and would like to ask a few questions about it from more experienced users. The first thing I would like to know is that does each project have its own "space". By space I mean have its own separate working area, if I install PHP…
hudsond7
  • 666
  • 8
  • 25
0
votes
2 answers

Meteor.js Twitter login when running on the Codio editor "page not available"

I'm using the online IDE called Codio which comes with internal hosting. Each Codio project gets assigned a url and a port, for my Meteor project it was http://deliver-milk.codio.io:3000 I tried adding the accounts-twitter package, set up the…
EvilBeer
  • 2,054
  • 2
  • 19
  • 37
0
votes
1 answer

Trying to setup Bitbucket GIT repo inside of Codio

I just signed up for the premium version of Codio and i'm trying to setup an existiing repo i have on BitBucket.org. When i try to connect to the repo it tells me i need to upload a public SSH key to my host. (see screenshot) The problem is i'm not…
dougmays
  • 96
  • 1
  • 9