If you want to edit the source code you will need npm
# Update your packages
sudo apt-get update && sudo apt-get upgrade
# Install `npm`
sudo apt-get install npm
# Verify npm version
npm --version# Clone this repo
git clone <this-repo>
# Move to dir
cd <cloned-repo>
# Install dependencies
npm installIf you installed npm with a package manager, there might be a misnaming error and node will be called nodejs.
Run the following command to solve this:
sudo ln -s /usr/bin/nodejs /usr/bin/nodeRun in developer mode:
npm run dev
Run in production mode:
npm start - to be implemented
Creating a new image from the questionnaire engine is easy as running a command. Everything needed for the environment is defined in the Dockerfile. This command will build the image and tag it with the name questionnaire-engine under version 1.0.
docker build -t questionnaire-engine:1.0 .