This repo provides a front-end for the backstage.
After cloning this repo you'll need a config file. Use the following command if you want to use the deployed version of the sdc-business-response-management API:
cp config-example.json config.json
If you want to run the sdc-business-response-management API locally use this command instead:
cp config-local-dev.json config.json
A web server will need to be setup to serve ./index.html when matching any route request with the exception of the ./dist folder and config.json file.
- Install Node
- From your command line or terminal, cd into your cloned directory and run:
npm install
- After all dependencies have been installed, from the command line run:
gulp dev
The Gulp task will run a node server that will build the minified files required for development.
Run the first 2 development steps above, after this run:
gulp test
Optionally add a flag labelled port to change port number
This front-end can be run with any HTTP server capable of serving static files. Here's how to do it with Python 3:
python3 server.py
Then go to http://0.0.0.0:8000
in a browser.