Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
75 lines (42 sloc) 1.81 KB

Welcome to Spawn Eden's documentation!

Getting started:

  • We recommend a virtualenv for using these scripts.

  • Install the dependencies for the scripts - Fabric and Cuisine.

    pip install -r requirements.txt
  • Use the following commands to install and configure a standalone Eden instance.

    Install :

    fab -H targetmachine setup_eden_standalone

    Configure :

    fab -H targetmachine configure_eden_standalone

Getting started with Amazon EC2:

The following illustrates the procedure to spawn a standalone Sahana Eden instance on EC2.

  • Create a file called .boto in your home directory with the following contents with the access key and the secret access key as per your account.

    [Credentials]
    aws_access_key_id = REPLACE_ME_WITH_ACCESS_KEY
    aws_secret_access_key = REPLACE_ME_WITH_SECRET_ACCESS_KEY
    
  • Upload your public key to be used with the instances created with EC2.

    fab aws_import_key:key_name=awskey,public_key=path_to_your_public_key,ZONE='us-east-1b'
    
  • Create a security group to be used with the instances spawned with EC2.

    fab aws_create_security_group:name=default,ZONE='us-east-1b'
    
  • Create a standalone Sahana Eden instance.

    fab aws_eden_standalone
    

Fabfile Documentation

.. toctree::
   :maxdepth: 4
.. automodule:: fabfile
    :members: