-
Install nodejs package globally on your system.
-
Clone git repository of lforms-formbuilder.
$ git clone https://github.com/lhncbc/formbuilder-lhcforms.git
-
Change to formbuilder directory and setup environment. Edit bashrc.formbuilder file to setup necessary environment. You can make a similar rc file to suit your shell. Please make sure that ./node_modules/.bin is in your path for the rest of the installation.
$ cd formbuilder-lhcforms $ npm ci $ source bashrc.formbuilder
-
Install required bower packages:
$ bower install
-
Edit formbuilder.conf.js to configure the application for your setup.
- If choosing https option, specify your ssl key, certificate and authority files.
- Specify server's host name (or IP) and port number.
- Specify Google Analytics gtag tracking id.
-
Run grunt task to generate index.html from template.
$ grunt template
-
Start formbuilder server for development.
$ grunt serve
-
Build the package for production and run.
$ grunt build $ cd dist $ node app -env production
forked from khristinalukanets/formbuilder-lhcforms
-
Notifications
You must be signed in to change notification settings - Fork 0
Build LHC-Forms and FHIR Questionnaires
License
yuflyud/formbuilder-lhcforms
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Build LHC-Forms and FHIR Questionnaires
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- JavaScript 90.1%
- HTML 7.8%
- CSS 1.4%
- Other 0.7%