Skip to content
This repository has been archived by the owner on Jan 17, 2021. It is now read-only.

heutagogy/heutagogy-frontend

Repository files navigation

Heutagogy Heutagogy

Quickstart: How to build and run Template?

(a) Prerequisites

Run the following commands to verify that you have the correct versions of Node and NPM installed:

node -v
npm -v

(b) Clone the Repository

git clone git@github.com:heutagogy/heutagogy-frontend.git Heutagogy

(c) Install dependencies

cd Heutagogy
npm install

(d) Build web-ui code base

npm run build

after that you can find files in Heutagogy/dist - this files should be served(this is production build of ui)


Optional steps

(e) Run test server with production version of web-ui

npm run testserver

after running this command Heutagogy/dist files will be served on nodejs server, on http://localhost:3001


Questions

How to run development version of ui?

Do steps - a,b,c
npm start

after running this command development version of web-ui will be availible on http://localhost:3002

Note: development version much more slower that production version

How to run unit tests for ui?

Do steps - a,b,c
npm test

How to get unit tests coverage?

Do steps - a,b,c
npm run test:coverage

Quickstart: Requirments for production deploy

  • Production server should return index.html file for each request
  • Production server should serve Heutagogy/dist folder

Quickstart: How to see something?

  • for npm run testserver use localhost:3001
  • for npm start use localhost:3002
  • for production use whatever you want

Quickstart: How to change api url?

Browser support

  • Chrome 45 +
  • Firefox 42 +
  • Chrome for Android 45 +

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published