Requirements: linux/macOs
- Install project dependencies by executing command
npm install
in the root project directory. - Run
npm start
. This will pretrain data inside thesrc/data/questions.json
file and then run the application. You can access it onlocalhost:3000
in your browser. If you want to retrain the data you can pass optional--retrain=yes
parameter to the script.
Requirements: Docker
for your system
- Build application image by executing
docker build -t wt .
- Run
docker run -p 3000:3000 -v /app/node_modules -v $(pwd):/app wt
Disclaimer: this was not part of the homework, it was used just for dev purposes.