0.0.0 • Published 10 years ago

react-redhat-docs v0.0.0

Weekly downloads
3
License
MIT
Repository
-
Last release
10 years ago

React Bootstrap Documentation Website

This website is single page app built on React, with styles and structure taken from the Bootstrap and React Bootstrap docs website.

Installation

If you are working on the site, you will want to install and run a local copy of it.

Dependencies

All dependencies are installed with npm, just:

$ cd react-redhat/docs
$ npm install

Instructions

Development

The site uses React Red Hat components, so first make sure you've installed and built the project (via grunt). Then:

$ cd react-redhat/docs
$ npm start
$ open http://localhost:4000/

This will start an express based node server which will generate static html content and the js bundle on request. After making any modifications the server should restart and regenerate any necessary files on the next request.

Production (Not yet implemented!)

This site is statically published on github pages, to do this the static assets need to be generated.

$ cd react-redhat/docs
$ npm run build

To test the static files you can use the included express based static file server.

$ cd react-redhat/docs
$ npm run start-prod
$ open http://localhost:4000/