Changes between Initial Version and Version 1 of PortableApplicationGenerator


Ignore:
Timestamp:
09/20/11 23:29:47 (11 years ago)
Author:
Praneeth Bodduluri
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PortableApplicationGenerator

    v1 v1  
     1Portable application generator is used to create offline windows standalone instance with or without data exported from a live Sahana Eden instance. This page serves as a guide for its usage.
     2
     3= Create web2py standalone exe =
     4
     5The portable application generator requires a web2py exe built with the libraries required by Sahana Eden.
     6
     71. Install the Eden developer environment with python 2.7 [http://eden.sahanafoundation.org/wiki/InstallationGuidelinesDeveloper]
     82. Install cxfreeze from [http://cx-freeze.sourceforge.net/]
     93. Copy static/scripts/tools/standalone_exe_cxfreeze.py to your web2py directory.
     104. Run the following to generate a standalone web2py executable in the build directory of the web2py directory.
     11{{{
     12python standalone_exe_cxfreeze.py build_exe
     13}}}
     145. Rename the build inside the build directory as web2py and compress it to create web2py.zip ('''Note: The zip file needs to uncompress to produce a directory named web2py''')
     15
     16= Using Portable application generator =
     17
     181. Upload the web2py.zip created above to your Sahana Eden instance.
     192. Select the required options to generate the portable application.
     203. After initial generation of the portable application - a provision is provided to download the last built portable application.