Google hangouts plugin the Rhythm framework
- Install npm
- Run
npm install
- Install bower
- Run
bower install
First, spin up a new Amazon S3 bucket, and enter this as the CORS configuration:
<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<CORSRule>
<AllowedOrigin>*</AllowedOrigin>
<AllowedMethod>GET</AllowedMethod>
<MaxAgeSeconds>3000</MaxAgeSeconds>
<AllowedHeader>*</AllowedHeader>
</CORSRule>
</CORSConfiguration>
- Install aws CLI tools, configure your user credentials
pip install aws-cli
- create a .env file with the variables
RHYTHM_SERVER_URL
,RHYTHM_MM_HOSTING_URL
, andRHYTHM_MM_S3_BUCKET
:
RHYTHM_SERVER_URL=https://something.compute-1.amazonaws.com
RHYTHM_MM_HOSTING_URL=https://s3.amazonaws.com/my-s3-bucket
RHYTHM_MM_S3-BUCKET=my-s3-bucket
where RHYTHM_SERVER_URL
is a live Rhythm Server instance.
make sure to use the https://s3.amazonaws.com/...
URL style for S3,
as this enables https, which is required by Google Hangout.
- to build and deploy, run:
gulp build && gulp deploy
If you want to use an AWS role other than the default role you have in
your local AWS CLI configuration, set an environment variable before
running gulp deploy
:
gulp build && AWS_PROFILE=myprofile gulp deploy
- Ensure the google console link to the plugin.xml file is updated
- The .env file should have an environment variable
RHYTHM_SERVER_URL
which is a https url to the rhythm server