lucified/lucify-template-project

Name: lucify-template-project

Owner: Lucify

Description: A template for projects that use TypeScript, React, Redux and Webpack

Created: 2017-05-24 11:52:43.0

Updated: 2017-11-13 10:41:19.0

Pushed: 2017-11-13 10:49:08.0

Homepage: null

Size: 143

Language: CSS

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Empty template project with React, Redux, TypeScript and Webpack

This has been influenced by create-react-app and Lucify's own visualisation projects.

Development

Requires Node 8 or greater and yarn.

Set up the development environment with:


Start a local development server with mock data:

 start

Then open http://localhost:3000 in your web browser.

Building deployment distributions

All the following build commands should be executed in the project root folder.

Build a production distribution into dist with:

_ENV=production yarn run build

Build a staging distribution into dist with:

_ENV=staging yarn run build

You can test a distribution by:

ist

This will start a light-weight local server at http://localhost:8000. To use the ws command, you need to install local-web-server

 add global local-web-server

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.