Version 37 (modified by 13 years ago) ( diff ) | ,
---|
Maintenance of the End-user Windows Installer
End-user Instructions: InstallationGuidelinesWindows
- Clean the Eden folder (databases/errors/sessions/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 folders from dist/applications/eden
- .bzr
- .git
- compiled
- docs
- tests
- static/scripts/gis/GeoExt/.*
- static/scripts/gis/openlayers/.*
- static/selenium
- Add missing file & then run the program once
c: cd \web2py copy splashlogo.gif dist cd dist web2py.exe # Ignore the NEWINSTALL error
- Modify 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 the examples & welcome folders
- Delete sahana-eden-setup.exe in the Web2Py Directory if it exists
- Download: http://eden.sahanafoundation.org/attachment/wiki/InstallationGuidelinesWindowsMaintenance/end-user-setup-maintenance.zip and copy the unpacked files to your web2py rootdir
- 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 web2py rootdir -> OK
- After a few seconds: The new sahana-eden-setup.exe should be in your web2py directory
Tasks for Crisis Commons
- Right now the installer launches other installers for Python and it's libraries in turn. It would be easier for the installer to process this in one go. Again an easily maintainable approach would be better as the versions of Python and these libraries increment with the versions of Eden.
- Feel free to add other areas that can improve the overall experience of the installer for the user
Other ToDo Items on the installer
- Is it better to have a larger download & include the pre-populated database with migrate=False? (& pre-populate=False)
- Is it better to have a larger download & include the compiled app?
- Remove all the Debug mode files? (Ext/GeoExt/OpenLayers/jQuery/UI/etc)
Attachments (1)
-
end-user-setup-maintenance.zip
(4.5 KB
) - added by 13 years ago.
Files required to create the end-user installer
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.