wiki:InstallationGuidelines/Windows/Maintenance

Version 53 (modified by Fran Boon, 12 years ago) ( diff )

--

Maintenance of the End-user Windows Installer

Table of Contents

  1. ToDo

End-user Instructions: InstallationGuidelines/Windows/User

  • Install py2exe
  • Move all applications, other than admin & eden, out of the applications/ folder
  • Clean the Eden folder (cache, databases, errors, sessions, static/cache, uploads)
  • Clean the admin folder (errors & sessions)
    c:
    cd \web2py
    copy applications\eden\static\scripts\tools\standalone_exe.py .
    c:\bin\python26\python standalone_exe.py py2exe
    
  • Remove unwanted files/folders from dist/applications/eden
    • .bzr
    • .git
    • compiled
    • docs
    • models/000_config.py (unless you want a pre-configured one here)
    • modules/test_utils
    • modules/tests
    • modules/unit_tests
    • static/scripts/tools/compiler.jar
    • tests
    • static/scripts/gis/GeoExt/.*
    • static/scripts/gis/openlayers/.*
  • Add missing file & then run the program once
    c:
    cd \web2py
    copy splashlogo.gif dist
    cd dist
    web2py.exe
    # Ignore any NEWINSTALL error, if seen
    
  • Create routes.py as follows:
    default_application = 'eden'    # ordinarily set in base routes.py
    default_controller = 'default'  # ordinarily set in app-specific routes.py
    default_function = 'index'      # ordinarily set in app-specific routes.py
    
  • Delete sahana-eden-setup.exe in the Web2Py Directory if it exists
  • Download: http://eden.sahanafoundation.org/attachment/wiki/InstallationGuidelines/Windows/Maintenance/end-user-setup-maintenance.zip and copy the unpacked files to your dist dir
  • Download & install: http://prdownloads.sourceforge.net/nsis/nsis-2.46-setup.exe?download
  • Open NSIS -> Compile NSI scripts -> File -> Load Script -> Select end-user-install.nsi in your dist dir -> OK
  • After a few seconds: The new sahana-eden-setup.exe should be in your dist directory

ToDo


Developer installer

BluePrint/Installer/Windows

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.