mirror of https://github.com/apache/jclouds.git
Issue 474: clarified instructions
This commit is contained in:
parent
7ebd08bb8b
commit
897e1a8967
|
@ -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
|
||||||
|
|
|
@ -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>
|
|
Loading…
Reference in New Issue