Sometimes I have to put text on a path

Tuesday, July 5, 2011

google app engine: clone HTML5wow ;"app.yaml";HTML5 slide/app;appspot;mercurial

See the app "HTML5wow":
http://ex-ample.blogspot.com/2011/06/with-google-app-engine-there-are-no.html

See the modified clone:
http://ex-ample.appspot.com


----step 1: clone a source
Two choices:
1-a) clone in a  repository hosted at Google Code.
1-b) clone with a local copy with Mercurial

1-a) if you want to "clone" a source directly in code.google.com
and you create a clone of the html5wow repository hosted at Google Code.

and select your clone and this window appears:
Click on "app.yaml":
application: html5wow
version: 1
runtime: python
api_version: 1


this runtime is python (it is important to verify (many differences between java, python and go)).
--------------


1-b) clone with a local copy; use Mercurial:
If you want to get a local copy of the html5wow repository, use with this command (mercurial):
hg clone https://html5wow.googlecode.com/hg/ html5wow

This post explain the first steps to do this local clone (mac OSX):

Mercurial is a free distributed source control management tool:
http://en.wikipedia.org/wiki/Mercurial
This project's Mercurial repository may be accessed using many different client programs and plug-ins:
http://mercurial.selenic.com/downloads/
Mercurial is written in Python with platform independence in mind. You can either download a binary package for the system of your choice or build it from sources. Mercurial uses Python (versions 2.4 through 2.7). Most ready-to-run Mercurial distributions include Python or use the Python that comes with your operating system.
Mercurial 1.9 for MacOS X 10.5 = one .zip file of 2.7MB (only one mkpg of 3MB--at the end 10MB on your local hard disk)
http://mercurial.berkwood.com/binaries/Mercurial-1.9-py2.5-macosx10.5.zip


This package installs :

  • the hg executable in /usr/local/bin and 
  • the Mercurial files in /Library/Python/2.5/site-packages/mercurial.


site-package

Mercurial: Traditional version control systems such as Subversion are typical client-server architectures with a central server to store the revisions of a project. In contrast, Mercurial is truly distributed, giving each developer a local copy of the entire development history. This way it works independent of network access or a central server. Committing, branching and merging are fast and cheap.

Verify that you have Python 2.5.x...
Now use the stand alone application "terminal" (included in mac OSX):
after the prompt, write "Python"
You receive this message:

Python 2.5.1 (r251:54863, Dec 16 2010, 14:12:43) 
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Now quit the interpreter Python line command (control D) 
and after enter this command after the prompt $:

hg clone https://html5wow.googlecode.com/hg/ html5wow


And you get this message (the download is fast : less than 3 minutes):

warning: certificate for html5wow.googlecode.com can't be verified (Python too old)
requesting all changes
adding changesets
adding manifests
adding file changes

added 388 changesets with 1822 changes to 1263 files (+1 heads)
updating to branch default
1129 files updated, 0 files merged, 0 files removed, 0 files unresolved
macbook-proS:~ stef$

Now you have a local copy on your hard disk of the html5wow source code.

This code is saved here:

-------
And it is up to you!
See the hello-guestbook app engine first steps:
http://ex-ample.blogspot.com/2011/07/first-steps-google-appengine-mac.html
http://ex-ample.blogspot.com/2011/07/hello-with-google-app-engine-and-webapp.html

No comments:

Post a Comment