Skip to content

abhishek1nair/dxninjas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Diagnostics Ninjas Hackathon Project

Setting up Front End Environment (For Mac)

Installing NVM

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash

Configure NVM

source ~/.bash_profile

Install npm (current LTS)

nvm install 8

Clone Repo

git clone https://github.com/abhishek1nair/dxninjas.git

Setting up NVM

Add the following line to .bash_profile

nvm use 8

Move into the FE Folder

 cd ./onetap

Install Packages

npm install

Install server (Prod server for dxninjas FE)

npm install -g serve

Configure parameters (default)

cp ./src/constants/constants.js.sample ./src/constants/constants.js

Starting Development Environment

  • Starting dev server
    • Desktop Version
    npm start

Starting production development build

  • Build all files (For Desktop Version)
npm run build
  • Run production server
serve -s build