Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

updating the readme

  • Loading branch information...
commit 8762c7aa53b3b4f2eaf862238d119d5b87fe2929 1 parent b1e2b22
Ken Cochrane kencochrane authored

Showing 1 changed file with 24 additions and 6 deletions. Show diff stats Hide diff stats

  1. +24 6 README.rst
30 README.rst
Source Rendered
... ... @@ -1,26 +1,44 @@
1 1 jython-on-dotcloud custom service
2 2 ---------------------------------
3 3
4   -This is a beta version of the custom jython service on dotCloud. Feel free to use, but keep your eyes open for issues. If you find any issues please report them.
  4 +This is a beta version of the custom Jython service on dotCloud. It is very basic, and pretty much just a proof of concept, but it should show you what you need to do in order to get off the ground.
5 5
6   -Still in early stages, and is currently in testing.
7   -
8   -Feedback welcomed.
  6 +The example here is using Jython and the Rocket web server to serve up a simple wsgi hello world app. Most people wouldn't be using Jython like this, but we wanted to show you it could be done. You could use the same idea to run Jython workers, or any other Jython process.
9 7
  8 +Feel free to use, but keep your eyes open for issues. If you find any issues please report them.
10 9
11 10 How it works
12 11 ------------
13   -We are using nginx as the front end reverse proxy, it is serving all static media as well proxying all other requests to a uwsgi process running a simple wsgi application running on Jython.
  12 +We are using nginx as the front end reverse proxy, it is serving all static media as well proxying all other requests to a rocket web server process running a simple wsgi application running on Jython.
  13 +
  14 +How to use
  15 +----------
  16 +
  17 +1. Clone this repo:
  18 +
  19 + $ git clone git://github.com/kencochrane/jython-on-dotcloud.git
  20 +
  21 +2. Create a dotcloud app (assuming you already have a dotcloud account and have the dotcloud client installed):
  22 +
  23 + $ dotcloud create jythonapp
  24 +
  25 +3. Makes changes to the repo locally, git commit your changes
  26 +
  27 +4. Push your app to dotcloud:
14 28
  29 + $ dotcloud push jythonapp .
15 30
16 31 Versions
17 32 --------
18 33 - Jython 2.5.2
19 34 - java 1.6.0_20
20 35 - nginx 1.0.13
  36 +- Rocket 1.2.4
21 37
22 38
23 39 Links
24 40 -----
25 41 - http://www.dotCloud.com
26   -- http://www.jython.org
  42 +- http://www.jython.org
  43 +- http://www.nginx.com
  44 +- http://launchpad.net/rocket

0 comments on commit 8762c7a

Please sign in to comment.
Something went wrong with that request. Please try again.