Giter Site home page Giter Site logo

pedrorsantana / nuxeo-web-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nuxeo/nuxeo-web-ui

0.0 0.0 0.0 46.39 MB

New Nuxeo Web UI

HTML 25.65% JavaScript 68.93% Java 0.72% CSS 0.08% Groovy 0.47% Gherkin 4.10% Dockerfile 0.01% Makefile 0.04%

nuxeo-web-ui's Introduction

Build Status Codacy Badge

Nuxeo Web UI

About

Nuxeo Web UI is a standard base web application for Nuxeo Platform. It is highly customizable and scalable, developed with Polymer and leveraging nuxeo-elements, our library of custom elements.

Install dependencies

npm config set @nuxeo:registry https://packages.nuxeo.com/repository/npmjs-nuxeo
npm install

Development workflow

Configure

For convenience you should create an .env file to set default environment variables:

cp .env.sample .env

Environment variables

Variable Used by Description Default
NUXEO_PACKAGES Webpack, Docker (Nuxeo) List of packages to enable for Web UI and Nuxeo
NUXEO_URL Webpack URL used to connect to Nuxeo server from Web UI /nuxeo
NUXEO_HOST Webpack Nuxeo host address to proxy calls from the dev server localhost:8080
NUXEO_WEB_UI_VERSION Docker compose Version of Web UI image to build /start
NUXEO_VERSION Docker compose Version of Nuxeo server to launch

Serve / watch

npm run start

This makes the Web UI available on http://0.0.0.0:5000/ to locally test. A nuxeo platform is expected to run on http://0.0.0.0:8080/ with the following cors-config.xml:

<component name="org.nuxeo.corsi.demo">
  <extension target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService" point="corsConfig">
    <corsConfig name="foobar" supportedMethods="GET,POST,HEAD,OPTIONS,DELETE,PUT" 
exposedHeaders="Accept-Ranges,Content-Range,Content-Encoding,Content-Length,Content-Disposition">
      <pattern>/nuxeo/.*</pattern>
    </corsConfig>
  </extension>
</component>

Run tests

cd ftest
npm run test:dev

This runs the functionnal tests.

Build & Vulcanize

npm run build

Build and optimize the current project, ready for deployment. This includes linting as well as vulcanization, image, script, stylesheet and HTML optimization and minification.

Run with Docker Compose

After building the project with npm run build you can try a Docker compose based deployment with:

docker-compose up --build

This builds the nuxeo-web-ui Docker image and starts the Docker compose cluster.

Web UI will then be available at http://localhost:8080/nuxeo/ui

Production workflow

Marketplace package

mvn clean install

This will build the plugin/web-ui/marketplace/target/nuxeo-web-ui-marketplace-${project.version}.zip Web UI marketplace to be deployed in a nuxeo server.

mvn clean install -Pftest

This also builds the marketplace running the functionnal tests.

License

Apache License, Version 2.0

(C) Copyright Nuxeo Corp. (http://nuxeo.com/)

All images, icons, fonts, and videos contained in this folder are copyrighted by Nuxeo, all rights reserved.

About Nuxeo

Nuxeo dramatically improves how content-based applications are built, managed and deployed, making customers more agile, innovative and successful. Nuxeo provides a next generation, enterprise ready platform for building traditional and cutting-edge content oriented applications. Combining a powerful application development environment with SaaS-based tools and a modular architecture, the Nuxeo Platform and Products provide clear business value to some of the most recognizable brands including Verizon, Electronic Arts, Sharp, FICO, the U.S. Navy, and Boeing. Nuxeo is headquartered in New York and Paris. More information is available at www.nuxeo.com.

nuxeo-web-ui's People

Contributors

guirenard avatar gabez0r avatar nelsonsilva avatar nuxeojenkins avatar ktouchie avatar mnixo avatar semisse avatar sguitter avatar pgmillon avatar fabiofsantos avatar ataillefer avatar troger avatar ffjdm avatar atoom75 avatar manonlumeau avatar rsalem07 avatar michaelva avatar akervern avatar tiagocardoso avatar adilioaraujo avatar efge avatar glefevre avatar jcarsique avatar lkleinnux avatar richardsd avatar pddgoncalves avatar kevinleturc avatar beloeuvre avatar woodyrew avatar benjamincorre avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.