Skip to content

Amazon Image for Opa

cedricss edited this page Aug 24, 2012 · 8 revisions

Amazon Image (AMI) for Opa

Try and Hack Opa in 10 min with the Opa AMI!

AWS icon Table of Contents

How to | FAQ

Introduction

Try | Hack | Contribute

Try

This image has everything installed to try Opa in a few seconds:

opa create myapp
cd myapp
make run

But it's much more!

Hack

You want to compile Opa from sources and hack the code, but you don't have the time to install the dependencies and developments tools? This image is ready to use:

emacs 
make
git commit -m "[feature] Something new for Opa"

Contribute

If you added a new feature or fixed a bug, send us a pull-request and join the contributors wall.

How to

Launch the Opa AMI (ami-c9388ca0). In the mid-time, fork the opalang repository.

When your instance is ready, connect via ssh:

ssh -i key.pem [email protected]

Clone the forked opalang repository:

git clone https://github.com/username/opalang.git

Configure:

cd opalang
./configure

It will check that all required dependencies are installed (and of course they are!).

Compile the code and install:

make
sudo make install

FAQ

What type of instance should I use?

A Medium Instance is a good start, it will take approximatively 10 min to compile the code the first time on it. But if you are patient then a two times slower Small Instance is ok.

A Micro Instance can be used to try Opa, but is too slow and haven't enough memory to hack and compile the code.

What is the distribution?

We forked the official Ubuntu Server 12.04 LTS AMI.