-
Install nodejs package globally on your system.
-
Clone git repository of formbuilder-lhcforms.
$ git clone https://github.com/lhncbc/formbuilder-lhcforms.git
-
Build the project.
-
To build the project, change to formbuilder-lhcforms directory. Edit bashrc.formbuilder file to suit your development environment. Make sure that ./node_modules/.bin is in your path for the rest of the installation.
$ cd formbuilder-lhcforms $ source bashrc.formbuilder $ npm ci && npm run build $ npm test ## Optional
-
-
To deploy on a production webserver:
$ cp dist/formbuilder-lhcforms {webserver docs location}
-
To start dev server locally:
$ npm start
Point the browser at http://localhost:9030
The form builder is an application. However, it is possible to control it via JavaScript from another web page. Refer to API.md for documentation.