Issue 474: clarified instructions

This commit is contained in:
Adrian Cole 2011-02-15 16:08:01 +01:00
parent e0c7e1c0b3
commit 48dc616c05
3 changed files with 29 additions and 51 deletions

28
demos/googleappengine/README.md Executable file
View File

@ -0,0 +1,28 @@
# googleappengine
This example will list the current instances and buckets in your Amazon account, using portable apis. This example runs inside Google AppEngine as a war file.
## Prepare
Please unzip http://googleappengine.googlecode.com/files/appengine-java-sdk-1.4.0.zip and export the system variable APPENGINE_HOME accordingly.
## Build
To install your test on your remote appengine application, first prepare locally via the below instructions:
mvn -Dappengine.applicationid=YOUR_APPLICATION -Dtest.aws.identity=YOUR_ACCESS_KEY_ID -Dtest.aws.credential=YOUR_SECRET_KEY -Plive install
## Deploy
then, you can upload this to google appengine like below:
appcfg.sh -e YOUR_EMAIL update target//jclouds-googleappengine-example
## Test
finally, you can verify with a web url:
http://YOUR_APPLICATION_ID.appspot.com/guice/status.check
## License
Copyright (C) 2011 Cloud Conscious, LLC. <info@cloudconscious.com>
Licensed under the Apache License, Version 2.0

View File

@ -1,50 +0,0 @@
====
Copyright (C) 2010 Cloud Conscious, LLC. <info@cloudconscious.com>
====================================================================
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
====================================================================
====
This samples uses the Google App Engine for Java SDK located at http://googleappengine.googlecode.com/files/appengine-java-sdk-1.3.5.zip
Please unzip the above file and modify your maven settings.xml like below before attempting to run 'mvn -Plive install'
<profile>
<id>appengine</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<appengine.home>/path/to/appengine-java-sdk-1.3.5</appengine.home>
</properties>
</profile>
<profile>
<id>aws</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<jclouds.aws.accesskeyid>YOUR_ACCESS_KEY_ID</jclouds.aws.accesskeyid>
<jclouds.aws.secretaccesskey>YOUR_SECRET_KEY</jclouds.aws.secretaccesskey>
</properties>
</profile>
<repositories>
<repository>
<id>jclouds</id>
<url>http://jclouds.googlecode.com/svn/trunk/repo</url>
</repository>
</repositories>

View File

@ -36,7 +36,7 @@
<description>JClouds Sample for Google App Engine</description>
<properties>
<appengine.applicationid>aws-common-demo</appengine.applicationid>
<appengine.applicationid>jclouds-aws-demo</appengine.applicationid>
<devappserver.address>localhost</devappserver.address>
<devappserver.port>8088</devappserver.port>
<jclouds.test.listener></jclouds.test.listener>