Switch branches/tags
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
src/main/webapp
README.markdown
pom.xml

README.markdown

Introduction

This module builds a WAR that can be deployed on Amazon Beanstalk. It uses the MySQL driver for storing data in the database and Amazon S3 for storing attachments.

When starting the Beanstalk environment you need to allocate an xwiki database on Amazon RDS and define the following properties in the Beanstalk panel:

  • AWS_ACCESS_KEY_ID the Amazon access key ID for accessing S3
  • AWS_SECRET_KEY the Amazon secret key for accessing S3
  • JDBC_CONNECTION_STRING need to be something like jdbc:mysql://AMAZON_RDS_HOST/xwiki?useServerPrepStmts=false&useUnicode=true&characterEncoding=UTF-8 where AMAZON_RDS_HOST is the host name of a previously allocated database on Amazon RDS
  • PARAM1 is the user name for accessing the database on Amazon RDS
  • PARAM2 is the user password for accessing the database on Amazon RDS
  • PARAM3 is the S3 bucket name where to store attachments
  • PARAM4 is the namespace to be used in the S3 bucket to store attachments