All Projects → l-e-x → leos

l-e-x / leos

Licence: EUPL-1.2 license
LEOS - Open Source software for editing legislation. This code is taken from joinup and placed in git repository as it is.

Programming Languages

javascript
184084 projects - #8 most used programming language
java
68154 projects - #9 most used programming language
HTML
75241 projects
CSS
56736 projects
coffeescript
4710 projects
XSLT
1337 projects

Projects that are alternatives of or similar to leos

legislator-scorecard
🗳️ Explore MA state representatives' voting records
Stars: ✭ 17 (-5.56%)
Mutual labels:  legislation
ISASTM
STM32-based ISA-over-USB-adapter
Stars: ✭ 86 (+377.78%)
Mutual labels:  isa
isa-api
ISA tools API
Stars: ✭ 36 (+100%)
Mutual labels:  isa
ISA8019
RTL8019-based ISA network card, NE2000-compatible
Stars: ✭ 91 (+405.56%)
Mutual labels:  isa
mrisc32
MRSIC32 ISA documentation and development
Stars: ✭ 87 (+383.33%)
Mutual labels:  isa
industry-issues
Repo to store publications, guides and other information pertaining to industry issues affecting Web Matters
Stars: ✭ 16 (-11.11%)
Mutual labels:  legislation
indigo
Indigo Platform for publishing beautiful legislation.
Stars: ✭ 44 (+144.44%)
Mutual labels:  legislation
edi-json
Serializing EDI as JSON
Stars: ✭ 73 (+305.56%)
Mutual labels:  isa
opcodesDB
x86-64 | ARM (AArch32/AArch64/THUMB) full instruction set.
Stars: ✭ 49 (+172.22%)
Mutual labels:  isa
PROJECT: LEOS
Joinup Release: 3.0.0
Date: 2020-03-23

INTRODUCTION
============

This is a joinup release of Project LEOS (pilot) which enables users to edit legal texts in AkomaNtoso XML format.


IMPORTANT NOTES
===============

This release is intended to provide an experience with the software and is stripped of several important components to enable ease of use.
    * This software is adapted to run on a local server for demo purposes and without proper security mechanisms.
    * This software provides two options for running CMIS repository. For more information see point B4.
    * This software is still under active development so some features may be added, removed or changed over course of time.


DEPENDENCIES
============

To compile the supplied source files and run the generated WAR the following software should be configured:
    * Java SDK version 8.0
    * Maven version 3.3.9+
      (Maven runtime memory might need to be set: MAVEN_OPTS=-Xms256m -Xmx512m)
      (Maven settings, proxy and mirrors, might need to be adjusted to your environment and internet access requirements)
    * Supported browser is Google Chrome version 45+
      (Mozilla Firefox ESR version 38.3 and Microsoft Internet Explorer version 11 are known to work with minor issues)


DEMO
====

You can experience LEOS on your local machine by executing a few steps in order, following the instructions for option A OR option B.

OPTION A)
If your machine's operating system is Microsoft Windows, you can simply execute the provided script: run-all.bat.
This script will execute individual scripts that will compile AND run each of the required software components.

Open the browser and navigate to the LEOS web interface available at the following URL:

    http://localhost:8080/leos-pilot/ui

LEOS is pre-configured with these demo users:

    +-----------+-------+----------+--------+
    | NAME      | LOGIN | PASSWORD |ROLE    |
    +-----------+-------+----------+--------+
    | Demo User | demo  | demo     |Normal  |
    +-----------+-------+----------+--------+
    | John Doe  | john  | demo     |Normal  |
    +-----------+-------+----------+--------+
    | Jane Doe  | jane  | demo     |Support |
    +-----------+-------+----------+--------+
    | S Leo     | leos  | demo     |Support |
    +-----------+-------+----------+--------+

OPTION B) 
If your machine's operating system is not windows or want to run components one by one, you should follow below steps.

B1. UNZIP ARCHIVE
=================

You must unzip the distribution archive.

    1) Unzip the distribution archive in the local file system
        a) A new directory should now be present: {LEOS}

B2. RUNNING ANNOTATE
====================

You must compile and run annotate on the command line.

    1) Traverse to folder {LEOS}/modules/annotate
    2) Execute the following command to compile source code.
            mvn clean install -Dmaven.test.skip=true
    3) Traverse to folder {LEOS}/modules/annotate/server
    4) Execute the following command to run annotate server.
            mvn spring-boot:run -Dspring-boot.run.profiles=h2 -Dspring-boot.run.folders=../config/target/generated-config

Once you'll run LEOS, annotate sidebar will be available to annotate documents
For more details about DB and running this module, check {LEOS}/modules/annotate/README.txt file

B3. RUNNING USER DATABASE
=========================

You must compile and run the user database on the command line.

    1) Traverse to folder {LEOS}/tools/user-repo
    2) Execute the following command to compile source code.
            mvn clean install
    2) Execute the following command to run it.
            mvn spring-boot:run -Drun.profiles=h2

B4. RUNNING REPOSITORY
======================

There are two options for running CMIS repository.

1. Use the OpenCMIS InMemory repository version included with this LEOS distribution.

    To run OpenCMIS InMemory repository server, You must compile and run the repository on the command line.

        1) Traverse to folder {LEOS}/tools/cmis/chemistry-opencmis-server-inmemory
        2) Execute the following command to compile source code.
                mvn clean install
        3) Execute the following command to run it.
                mvn jetty:run-war

2. Use a persistent CMIS Open Source server version.

    To use and connect LEOS to persistent CMIS Open source, please go through document present at the following folder location inside this release:
    
        {LEOS}/docs/CMIS Open Source/LEOS-CMISOpenSource-v1.0.0.pdf

B5. RUNNING LEOS
================

Notes:
    - User database and repository must already be running.
    - LEOS can use SAML protocol to authenticate with an IDP.
    - To use SAML it is needed modify SAML configuration defined in "securityContext.xml" file inside module "security-saml".

You must run LEOS on the command line.

    1) Traverse to folder {LEOS}
    2) Execute the following command to compile source code.
        - For default authentication: mvn clean install
        - For SAML authentication: mvn clean install -Dsaml
    3) Traverse to folder {LEOS}/modules/web
    4) Execute the following command to run LEOS.
        - For default authentication: mvn jetty:run-war
        - For SAML authentication: mvn jetty:run-war -Dsaml
            

Open the browser and navigate to the LEOS web interface available at the following URL:

    http://localhost:8080/leos-pilot/ui
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].