doc/manual/install.rst
author Edouard Tisserant
Tue, 09 Jan 2018 15:08:08 +0100
changeset 1893 971de876b1af
parent 811 66a8812457d6
permissions -rw-r--r--
WAMP runtime : changes from dporopat and agregorcic, adding CRA (-s) and changed way to load WAMP conf (-c)
- added Challenge Response Authentication,
- use -s commandline switch to give the shared secret.
- WAMP configuration now either given as -c commandline switch
or taken as default wampconf.json in project files.
Beremiz installation 
====================

Windows
-------
Download installer, install. 

Linux
-----
Pre-requisites::

    # Ubuntu/Debian :
    sudo apt-get install python-wxgtk2.8 pyro mercurial
    sudo apt-get install build-essential bison flex python-numpy python-nevow

Prepare::

    mkdir ~/Beremiz
    cd ~/Beremiz

Get Source Code::

    cd ~/Beremiz
    
    hg clone http://dev.automforge.net/beremiz
    hg clone http://dev.automforge.net/plcopeneditor
    hg clone http://dev.automforge.net/matiec

Build MatIEC compiler::

    cd ~/Beremiz/matiec
    ./configure
    make

Build CanFestival (optional):: 

    # Only needed for CANopen support. Please read CanFestival 
    # manual to choose CAN interface other than 'virtual'::

    cd ~/Beremiz
    hg clone http://dev.automforge.net/CanFestival-3
    
    cd ~/Beremiz/CanFestival-3
    ./configure --can=virtual
    make

Launch Beremiz::

    cd ~/Beremiz/beremiz
    python Beremiz.py