Giter VIP home page Giter VIP logo

angular-pannotation-web-frontend's Introduction

Pannotation Web Frontend

Requirements

  • node.js v10.9 or grater

Tech

Pannotation app uses a number of open source projects to work properly:

  • Angular - a framework for creating SPA
  • TypeScript - a typed superset of JavaScript that compiles to plain JavaScript

Installation

Pannotation app requires Node.js v10.9+ to build. Install the dependencies and devDependencies and start the server.

$ cd marketplace-web-frontend
$ npm install

Configuration

Available environment

  • dev
  • stage
  • production

Production configuration

Copy src/environments/environment.ts to src/environments/environment.prod.ts if such file does not exist. Update file src/environments/environment.prod.ts according to your configurations.

in case of `dev` or `stage` environment, name of file should be `environment.dev.ts` or `environment.stage.ts`

Deploying

Build with dev or stage configuration

For dev build use:

$ npm run build -- -c dev

For stage build use:

$ npm run build -- -c stage

Production build

  • Build source code using npm scripts:
$ npm run build:prod

Note: Production configuration uses file src/environments/environment.prod.ts as its environment

Build is placed to dist/market-en folder and ready for being served by server (nginx, apache, node, etc.)

You can also specify a folder where you want to build the application:

$ npm run build:prod -- --output-path /path/to/folder

Note: -- are required for providing additional parameters with npm scrips.

angular-pannotation-web-frontend's People

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.