Offline installation
This recipe describes the needed steps to download all the needed file once in a directory, and then reusing just that directory to install the application.
Downloading all dependencies
First step requires Internet connection.
Unix
$ mkdir /tmp/SoL-1.5-bundle $ cd /tmp/SoL-1.5-bundle $ easy_install -zmaxd . http://darcs.arstecnica.it/our/sol/dist/SoL-1.5-py2.5.egg SoL[cjson]
At this point, the directory /tmp/SoL-1.5-bundle contains more than twenty .egg files.
Download the ExtJS bundle as well:
$ wget http://extjs.com/deploy/ext-2.2.zip
Ok, now that directory contains everything is needed to install and use SoL!
Deploying on another system
The above directory must be copied onto the remote system: the easiest way is by copying the whole directory on a trasferable medium such as an USB memory stick, and then using that medium on the unconnected machine to perform the installation.
Unix
Assuming the USB dongle containing a copy of the above directory is mounted as /mnt/sdb:
$ easy_install -f /mnt/sdb SoL[cjson] $ python -m sol.websetup /mnt/sdb/ext-2.2.zip
Win32
Download this bundle, it contains everything's needed; it was created with the recipe above, manually adding the installers for Python 2.5.2, ReportLab and setuptools, as well as the ExtJS 2.2 distribution. You can copy it on a removable media such as an USB memory stick, so that you won't need any network connection to follow these steps:
- extract bundle's content into a temporary folder
- install the Python interpreter, double clicking on the python-2.5.2.msi archive
- install ReportLab, double clicking on the ReportLab-2.2.win32-py2.5.exe installer
- install setuptools, double clicking on the setuptools-0.6c9.win32-py2.5.exe installer
- install SoL, double clicking on the install-sol.bat batch file
Now SoL is properly installed, you may remove the temporary folder and the USB dongle. You can then proceed with the configuration of a new instance of SoL.