0.1.0 • Published 9 months ago

semlookp-sampleapp v0.1.0

Weekly downloads
-
License
-
Repository
-
Last release
9 months ago

SemLookP Scheme

About The Project

This project will be the new frontend scheme of SemLookP.

Built With

Setup

Development

This project was bootstrapped with Create React App.

Authenticate to the npm package registry

For using the @km/widgets-semlookp you have to authenticate with a personal access token or deploy token. For local development specify a runtime variable NPM_TOKEN with your npm authentication token.

Local development

For starting the application for the first time run the following command:

npm install

To start the application use the following command In the project directory:

npm start

Open http://localhost:3000/dev to view it in the browser.

The page will reload if you make edits.\ You will also see any lint errors in the console.

Production

Create production build for all services:
Uncomment build: ./ in docker-compose.yaml
Set an environment variable with your NPM_TOKEN.
Run the following to build the Docker image with the current NPM_TOKEN environment variable.

$ docker-compose --env-file dev.env build --build-arg NPM_TOKEN=${NPM_TOKEN}
$ docker-compose --env-file dev.env up

Docker and private modules