Complete setup guide, step-by-step


#1

Hi everyone,
I am trying to deploy Senaite Health on a Digital Ocean Droplet. I get as far as installing Plone and configuring a second buildout file (senaite.cfg) but when it comes to running buildout to fetch Senaite Health, I have been getting a multitude of errors. Would anyone have a complete step-by-step guide for setting up Senaite Health on Ubuntu 18.04? Ideally from the initial Plone setup.
Thanks.


#2

Hi @emmk , have you checked the “Installation” section from senaite.lims here?:

Install first the system dependencies, and then follow the well-documented installation instructions for Plone 4 here (4.3.18 version recommended): https://docs.plone.org/4/en/manage/installing/index.html

Unifier installer for Plone 4.3.18 can be downloaded from here: https://launchpad.net/plone/+milestone/4.3.18

Once installed, modify the buildout.cfg (as explained in the first link posted above), but add senaite.health in the eggs section of the buildout.cfg file too. Your buildout.cfg should look close to the following (note that besides senaite.health egg, I stick here to Plone 4.3.18 of and I’ve also added index section):

[buildout]
parts =
    instance
extends =
    http://dist.plone.org/release/4.3.18/versions.cfg
find-links =
    http://dist.plone.org/release/4.3.18
    http://dist.plone.org/thirdparty
index = 
    https://pypi.python.org/simple/
eggs =
    Plone
    Pillow
    senaite.lims
    senaite.health
zcml =
eggs-directory = ${buildout:directory}/eggs

[instance]
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 0.0.0.0:8080
eggs =
    ${buildout:eggs}
zcml =
    ${buildout:zcml}

[versions]
setuptools =
zc.buildout =

Once you have buildout.cfg in place, you only need to run bin/buildout and wait a little bit until it finishes. Then, just start the instance (bin/instance start for standalone mode or bin/zeoserver start + bin/client1 start for zeo mode). Open a browser and type http://localhost:8080 , install the Senaite site and you are done.