Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!
Cloud Zone is brought to you in partnership with:

Heroku

  • submit to reddit
Eric Genesky04/26/12
1020 views
0 replies

Video: Running Sinatra on Heroku

This is a quick (3:38) walkthrough of how to host a Sinatra app. on Heroku.

Eric Genesky04/20/12
1946 views
0 replies

Weekly Cloud Roundup!

Here are a few updates on the Cloud that I missed this last week. Azure's got a new startup-support program, Heroku's blog gives incremental updates, and AWS opens a marketplace for its multitude of products.

Eric Genesky04/12/12
1804 views
0 replies

Video: Heroku and Java Webinar (~1 hour)

Some members of the Heroku team demonstrate how to start building a Java web app, as well as coding with Heroku using Maven and Gradle. Let us know if the video was useful.

Eric Genesky03/19/12
3516 views
0 replies

Neo4j Heroku Challenge Winner and Finalists

The challenge winner was Luanne Misquitta's Flavorwocky. Also, some DZone MVBs were Language winners for the challenge.

Geva Perry03/15/12
6402 views
8 replies

Listing the Java PaaS Public and Private Clouds

Recently, during OracleWorld/JavaOne, Oracle announced its public cloud offering, including its Oracle Java Cloud Service -- the latest entrant into the increasingly crowded Java Platform-as-a-Service space. Despite being the most popular programming language, PaaS offerings for Java were not adopted as quickly as those for Ruby, Python and PHP.

Shameer Cee03/13/12
766 views
0 replies

Toto on Heroku Allows for Ninja-Style Blogging

Toto is a Ruby gem designed to run on Heroku. A flat-blogging engine that doesn't need a database, and also doesn't have an admin panel? Sure, why not? Learn how to set it up here.

Jeff Dickey03/05/12
944 views
0 replies

How to Use Memcache on Heroku's Cedar Stack in Rails 3.1

For caching on a Rails site, memcache is probably your best solution. Here's a code-inclusive step-by-step for your benefit.

Eric Genesky03/05/12
4981 views
0 replies

A Collection of Brilliant Neo4j Heroku Challenge Projects

From a broad range of languages and frameworks: D3 Followers Visualizer, D3 Network Visualizer, and a simple recommendation engine for Flattr users.

        You can use the following for a "it just works" approach to using REDIS in rails

First - install redis
brew install redis

Second - create the following.  Note port can be anything you want but they should be unique.  Redis by default runs on 6381 but, using that it risky, if some other app is using that you could get confusing results when keys overlap.

config/redis/development.conf
daemonize yes
port 6390
logfile ./log/redis_development.log
dbfilename ./db/development.rdb

and config/redis/test.conf

daemonize yes
port 6391
logfile ./log/redis_test.log
dbfilename ./db/test.rdb

Third - add this init script
config/init/redis_init.rb
require "redis"
rx = /port.(\d+)/
s = File.read("#{::Rails.root}/config/redis/#{::Rails.env}.conf")
port = rx.match(s)[1]
`redis-server #{::Rails.root}/config/redis/#{::Rails.env}.conf`
res = `ps aux | grep redis-server`
raise "Couldn't start redis" unless res.include?("redis-server") && res.include?("#{::Rails.root}/config/redis/#{::Rails.env}.conf")
REDIS = Redis.new(:port => port)

If you're deploying to Heroku and using redis-to-go use this script
config/init/redis_init.rb

require "redis"

if ::Rails.env == "production"
  uri = URI.parse(ENV["REDISTOGO_URL"])
  REDIS = Redis.new(:host => uri.host, :port => uri.port, :password => uri.password)
else
  rx = /port.(\d+)/
  s = File.read("#{::Rails.root}/config/redis/#{::Rails.env}.conf")
  port = rx.match(s)[1]
  `redis-server #{::Rails.root}/config/redis/#{::Rails.env}.conf`
  res = `ps aux | grep redis-server`
  raise "Couldn't start redis" unless res.include?("redis-server") && res.include?("#{::Rails.root}/config/redis/#{::Rails.env}.conf")
  REDIS = Redis.new(:port => port)
end
</config>

Then - in your app just use the REDIS constant to deal with redis.... example:
REDIS.keys
    
Romiko Derbynew02/23/12
988 views
0 replies

How to Get Started Using the Heroku Toolbelt in Windows

Rather than including the step-by-step process, this post provides links to various useful documents for installing the Heroku toolbelt and Git.

Max De Marzi02/02/12
4697 views
0 replies

Graph Visualization and Neo4j – Part Two

This is a killer tutorial that can make for some pretty sweet HTML5-based graphics. Specifically, DeMarzi links to getvouched.com, which visually displays it's social network as an interactive web.

Swizec Teller01/30/12
4689 views
1 replies

Heroku, MongoDB, node.js – a problem

A couple facts about three cool technologies

Ken Cochrane01/26/12
2263 views
0 replies

Developers Guide to Running Django Applications on Heroku

Heroku the platform as a service (PAAS) company, very popular in the Ruby on Rails community, has now started opening up their platform to languages besides Ruby. They now offer support for Python, Java, Clojure, Node.js, and Scala on their new Cedar...

Max De Marzi01/19/12
2161 views
0 replies

Neo4j on Heroku - Part 3

This is the third and final installment of the Neo4j on Heroku tutorial.  After reading this, you should be ready to go out there and start hacking on Neo4j and then deploying your apps to Heroku.

Chris Smith01/18/12
5160 views
0 replies

Hack Neo4j on Heroku for Fun and Profit

What's Going On?  Neo4j is offering t-shirts and prizes to all developers "to create the best Heroku-hosted demo or template applications for the Neo4j Add-on."  What Can You Win?All participants will receive a Neo4J-Heroku t-shirt and winners...