GithubHelp home page GithubHelp logo

maiiiiiiii / ddf-ui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codice/ddf-ui

0.0 1.0 0.0 159.73 MB

License: Other

HTML 0.16% CSS 0.50% JavaScript 0.06% Java 37.18% XSLT 0.01% Shell 0.02% TypeScript 62.06%

ddf-ui's Introduction

ddf-ui

Welcome to ddf-ui, the home of Intrigue.

Installing in DDF

Note: Change 4.1.0-SNAPSHOT to the desired or most recent version of ddf-ui.

  1. Inside of a DDF karaf console run the following commands:

    feature:repo-add mvn:org.codice.ddf.search/intrigue-ui-app/4.1.0-SNAPSHOT/xml/features
    
    feature:install catalog-ui-app
    

    This will add the backend repo and then install the app.

    feature:repo-add mvn:org.codice.ddf.search/ui-frontend/4.1.0-SNAPSHOT/xml/features
    
    feature:install ui-frontend
    

    This will add the frontend repo and then install the app.

  2. (Optional) Add the following bundle to bundleLocations in etc/application-definitions/search-ui.json:

    "mvn:org.codice.ddf.search/catalog-ui-search/4.1.0-SNAPSHOT"
    

    This configures the Intrigue configurations to appear under the Search UI app in the DDF Admin Console.

  3. (Optional) Add a configuration file at etc/org.codice.ddf.ui.searchui.filter.RedirectServlet.config with the following contents:

    defaultUri="${org.codice.ddf.external.context}/search/catalog/"
    

    This configures /search to redirect to /search/catalog, which is the URI for Intrigue.

Developer Notes

There are multiple workflows setup to assist with develop in downstream projects.

  1. The first work flow is one that runs on each pull request. After each commit, the catalog-ui-search dist will be built and pushed to a branch unique to that pull request. This branch is automatically maintained and deleted once the pull request closes (merged or otherwise). An example comment that is posted to each pull request once the branch is built and pushed is below
An updated dist branch has been created and pushed to origin.
You can use:
`"catalog-ui-search": "https://github.com/codice/ddf-ui#catalog-ui-search-dist-746"`,
in your package.json to use this version in your project.

Remember to use "yarn install --force" if you want to pick up changes each time you make a change to this branch by committing.
  1. There is a similar workflow that maintains a dist for the main branch of the project. So once your changes are merged in, you can point to this branch. Or you can point to it just to verify the next version will work once released. Below is how to reference that snapshot dist.
 "catalog-ui-search": "codice/ddf-ui#main-dist-snapshot"

Remember that both cases rely on using yarn install --force to pick up any changes to the branches.
(and also remember to wait for the rebuilt dist to be compiled and pushed)

ddf-ui's People

Contributors

andrewkfiedler avatar djblue avatar pklinef avatar rzwiefel avatar jrnorth avatar bdeining avatar alexabird avatar glenhein avatar stustison avatar kcwire avatar clockard avatar jlcsmith avatar emmberk avatar azgoalie avatar blen-desta avatar vinamartin avatar hayleynorton avatar lambeaux avatar sgalla avatar coyotesqrl avatar jaymcnallie avatar brendan-hofmann avatar mojogitoverhere avatar stevenmalmgren avatar pvargas avatar andyjcross avatar mcalcote avatar andrewzimmer avatar josephthweatt avatar brjeter avatar

Watchers

James Cloos 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.