2.2.
Installing Bika LIMS
Up one level
- Download Bika LIMS from: http://sourceforge.net/project/showfiles.php?group_id=145464
- There are several Products listed;
- If you want to install Bika LIMS, then download the bika package, in whichever archive made available (rar, tar.gz, zip)
- There are two package types;
- Bika Product (stand-alone): e.g. bika-1.2.2.rar - this archive only contains the Bika product, but not Bika dependent products. Only download this package if you're upgrading Bika, but take note to make sure your Bika dependent products are up to date
- Bika Product Bundle; e.g. bika-1.2.2_bundle.rar - this archive contains the following;
- Extract the BIKA Product Package or Bika Product Bundle inside the Products directory of your Zope instance, assuming you have the same set-up described in the Plone installation page, this would be: C:\Program Files\Plone 2\Data\Products
- Copy start-id-server.bat from C:\Program Files\Plone2\Data\Products\bika\scripts to C:\Program Files\Plone2\Data
- Edit 'start-id-server.bat' so PYTHON and BIKA_BASE variables reflect
your installation
The Final content of the start-id-server.bat should look like this:
@set PYTHON=C:\Program Files\Plone212\Python\python.exe
@set BIKA_BASE=C:\Program Files\Plone212\Data
@set COUNTER_FILE=%BIKA_BASE%\var\idserver.counter
@set LOG_FILE=%BIKA_BASE%\var\idserver.log
@set PID_FILE=%BIKA_BASE%\var\idserver.pid
@set SCRIPT=%BIKA_BASE%\Products\bika\scripts\id-server.py
@set PORT=8081
"%PYTHON%" "%SCRIPT%" -f "%COUNTER_FILE%" -p "%PORT%" -l "%LOG_FILE%" %1 %2 %3 %4 %5 %6 %7The section in bold needs to be added
ONLY for Windows users: Alternatively you can download the patched start-id-server.bat from here: - Edit C:\Program Files\Plone2\Data\etc\zope.conf with <Environment> variable
Add in 'environment' section for the ID Server (and remove all other 'environment' settings):
<environment>
IDServerURL http://localhost:8081
</environment> ALSO due to a quirk between Plone & windows, edit C:\Program Files\Plone2\Data\etc\zope.conf also un-comment the following section: 'Directive: suppress-all-access-rules'
so that you get the following line below Example;suppress-all-access-rules on
Run 'runzope.bat' from C:\Program Files\Plone212\Data\bin or
Run the Plone Control panel (which you can find from Start -> Programs -> Plone -> Plone
Click on the Start button
Click on the 'Zope Management Interface' button, and the ZMI should open up in a new browser window- Start the IDServer from C:\Program Files\Plone 2\Data
Test by browsing to http://localhost:8081/ - if running it will display a number, and will increment it with every reload - {Skip this step if you used the Plone Controller} Open Browser, go to ZMI, typically http://localhost:8080/manage
- ZMI: a pop-up will appear requesting your login and password
assuming you have the same set-up described in the Plone installation page, this would be:Login: admin & Password: local
- Following successful authentication you should see the following screen;

Select 'Plone site' from the 'Add' drop down menu.

- Specify the id (short name, part of site's address), Title (title of the Bika site) and Description (of your BIKA instance) and select 'bika' from the 'Extension Profiles' at the bottom of the form. And click on 'Add Plone Site' and the following screen will appear:e.g. Id: 'bika', Title: 'Bika LIMS Portal', Description: 'This is the demo of Bika 1.2.2'

- After step 14 you should be automatically redirected to the ZMI, showing your new Bika instance
- Click on you bika instance, and then click on the 'View' tab to see bika full screen. Or alternatively, open a new browser window or tab, and enter the following address: http://localhost:8080/bika
- Uploading Sample Data for bika.
NOTE: if you want to install Bika Wine or Bika Interlab, please only upload sample data at the end of the 'Wine' or 'Interlab' installation process.
If you want to populate your Bika LIMS with sample data, login into bika as administrator, and enter the following address in your browser:
http://localhost:8080/bika/load_sample_dataNOTE: Make sure your IDServer is running!
This will take several seconds, and will be followed by an blank screen with 'Ok' in the top left.
Use the browser's back button to return to the Bika LIMS
If you have any trouble with the above installation procedure, please join the BIKA users mailing list and report any problems you might have.