Code Monkey home page Code Monkey logo

onto-portal's Introduction

onto-portal

DAF - Ontologies and Vocabularies demo portal

Getting Started

onto-portal is the demo of ontologies and vocabularies portal

Note: You can use yarn or npm as you prefer, however yarn is recommended

Install Dependencies

  • If you use yarn, run:
yarn
  • If you use npm, run:
npm install

Note: This step will take a while due the installation of project dependecies

External Dependecies

This application depends on katalod's API, this means that you need to run katalod at localhost before launch this application.

Development

Run Development Server

  • If you use yarn, run:
yarn start
  • If you use npm, run:
npm start

Note: In this step the webpack-dev-server will bundle the sources (while performing other operations like transpiling with babel) and will open automatically the browser at localhost:8080 which is the default address of webpack-dev-server

Production

Build

  • If you use yarn, run:
yarn build
  • If you use npm, run:
npm build

Note: During the build webpack will bundle all the sources in dist folder at the root of this project, so the application will be stored at ./dist

Serve

  • If you use yarn, run:
yarn serve
  • If you use npm, run:
npm run serve

Note: At this point you have to serve the application. In this example we will use serve to accomplish that but if you feel confort with other tools feel free to use one of them, just remember that this application is stored in ./dist folder and it's entrypoint is located at ./dist/app.bundle.js

Docker

We provide the Dockerfile to build a local docker image. This will deploy the application in production mode, simply run:

docker build -t onto-portal:0.0.1 .

Note: If you want to edit the Dockerfile you can, but always build and run in production mode because the current development mode in a headless environment does not work

onto-portal's People

Contributors

and0111 avatar

Watchers

James Cloos avatar Cristiano Tofani 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.