Questions tagged [appfog]

Appfog is a simple PaaS for Java, Node, .Net, Ruby, PHP, MySQL, Mongo, PostgreSQL, and more.

Appfog is an online service PaaS for Java, Node, .Net, Ruby, PHP, MySQL, Mongo, PostgreSQL, and more. Freedom to move between IaaS at will with the easiest pricing in the cloud.

186 questions
2
votes
2 answers

App Fog Rails Migrate Database

How am I supposed to migrate Rails application database in App Fog? For example, on Heroku after the first deployment you have to run: $ heroku run rake db:migrate Is there a similar command or the database is deployed automatically on App…
Itay Grudev
  • 7,055
  • 4
  • 54
  • 86
2
votes
2 answers

Need workaround to make a python standalone application on AppFog

After reading on appFog website that I could use APScheduler to make a python background worker, I gave it a try. I tried to push a simple python standalone application with a requirements.txt file (created with pip freeze) which contains the…
RockridgeKid
  • 145
  • 3
  • 11
2
votes
1 answer

CodeIgniter website with PostgreSql database in APPFOG

I am running a website in Codeigniter framework. I am using postgresql. I went through APPFOG documentation. But it is not clear to me how I configure postgres database . Where do I host the database? How do I make database updates?
i_nomad
  • 795
  • 2
  • 7
  • 9
2
votes
1 answer

JSDom Alternative with full Sizzle support?

For a bit of scope, I have a scraping app that I am running on cloudfoundry. Due to the Contextify problem discussed here, I am unable to use jsdom to do this. To get around this problem I started to replace jsdom with Cheerio, however I have now…
Stevie
  • 2,000
  • 1
  • 18
  • 28
2
votes
2 answers

node+mongo, can't insert to mongo unless on localhost

For some reason the following inserts to the remote mongo server when I run locally, but when I run on my appfog server it doesn't insert. function record_visit(req, res){ res.write("
Connecting to "+mongourl+"
"); …
K2xL
  • 9,730
  • 18
  • 64
  • 101
2
votes
1 answer

Setting up haProxy to content switch multiple apps on Appfog

I currently have two apps at AppFog, they are. http://sru-forums-prod.aws.af.cm/ and http://sru-home-prod.aws.af.cm/ I have haProxy running locally on my computer, this is my current config file. global debug defaults mode http timeout…
James Black
  • 102
  • 1
  • 7
1
vote
0 answers

EPIPE write error html-pdf only on appfog server

I'm having a very weird EPIPE write error when I'm trying to generate a PDF from HTML with this module: https://www.npmjs.com/package/html-pdf The exact error: events.js:72 throw er; // Unhandled 'error' event ^ Error: write…
Andre
  • 893
  • 2
  • 9
  • 30
1
vote
0 answers

AppFog available RAM for MySQL service

Does anyone know how much RAM does a MySQL instance have in the AppFog platform. (yes I have read https://www.appfog.com/pricing/ and I am already a paying customer, but their support cannot answer me and I feel like in Catch 22) - from their…
1
vote
1 answer

update php application using app fog

I have an account on App fog, I have depolyed the app on it using af update app-name but my php code creates some file on the server the server, Now I want to download the updated code from the server, I tried using af pull app-name and also af…
user1765876
1
vote
0 answers

Getting a 'forbidden' error on POST routes when switching SailsJs app to production on appfog

Usually I can count on someone on Stack Overflow already asking a questions. However, I can't seem to track one down so ... my first post! I have recently pushed a SailsJs application for deployment on AppFog. When running the app in both…
gregdillon
  • 23
  • 4
1
vote
1 answer

Not found af from appFog to download

I'd like to download and install af from appFog but when I execute the needed command in the Command Prompt (in Windows) I obtain the next result: C:\Users\Jose>gem install af ERROR: Could not find a valid gem 'af' (>= 0), here is why: …
kiuby_88
  • 334
  • 1
  • 6
  • 18
1
vote
1 answer

Unable to maintain session on AppFog with Spring

I am working on a java web application developed using Spring MVC-Hibernate. The application works fine when deployed on Glassfish-3.1.2 and Tomcat-6/7. However, when the application is deployed on AppFog(Website Hosting application), it is unable…
Gurminder Singh
  • 1,755
  • 16
  • 19
1
vote
1 answer

nodejs + express + appfog different session for img resource

I have the following code to validate if a user is logged-in to my app. My problem is that once the user is logged in the img request has a different session than the one i'm saving for the user. I have the following code to validate if a user is…
1
vote
2 answers

Set datasource values during run time

So essentially I'm trying to get my project up and running on AppFog. The datasource information is stored in an enviornment variable, which is essentially JSON. My goal is to take this data and set my datasource config from it. Here is what I have…
James Kleeh
  • 12,094
  • 5
  • 34
  • 61