Skip to content

IN-CORE/incore-playbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

377 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NIST Community Resilience Planning Playbook

Work in Progress

Requirements: Node.js and Yarn.

Install dependencies: yarn install or npm install

Install pre-commit: pre-commit install if pre-commit is not installed, run brew install pre-commit

Install peer dependencies: npm install react@~16.14.0 react-dom@~16.14.0 react-redux@~7.1.0 redux-thunk@~2.3.0 redux@~4.0.1 react-router-dom@~5.2.0 @material-ui/core@^4.11.0 @material-ui/icons@^4.9.1 babel-polyfill@^6.26.0 --no-save

Develop: export INCORE_REMOTE_HOSTNAME=https://incore-dev.ncsa.illinois.edu and run yarn start or npm start or npm run start:dev

Build: yarn run build or npm run build

Example of use this repository in child repositories

  1. yarn link to register the incore-playbook
  2. Go to the child repository
  3. npm install in child repository and link it by yarn link incore-playbook
  4. export INCORE_REMOTE_HOSTNAME=https://incore-dev.ncsa.illinois.edu and npm start or npm run start:dev
  5. Note: you should be able to set map configuration and allowed hazard types here: https://github.com/IN-CORE/Joplin-Playbook/blob/main/src/index.jsx
import render from "incore-playbook/src/render";
import baseReducer from "incore-playbook/src/reducers";
import baseRoutes from "incore-playbook/src/routes";
import {createTheme} from "@material-ui/core/styles";

const newTheme = createTheme({
	typography: {
		fontFamily: "Times New Roman"
	},
	palette:{
		fontFamily: "Times New Roman"
	}
});

export default (render(aggregatedReducer, aggregatedRoutes, newTheme));

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages