Skip to content

Efficient-Computing-Lab/fns-cloud

Repository files navigation

MongoDB database exports: diabetes_thesis/mongo_exports

Notes

  • myapp.js : main code
  • /models/user.js : mongo models
  • /views : contains .ejs templates (html pages)
  • /static : contains all static content such as css, js, icons, fonts etc

Run app

  1. Install npm modules
  2. $systemctl start mongod.service
  3. Run make file using command : $ make
  4. URL: localhost:3000/

Run Docker

  • $sudo docker build . -t thesis/node-web-app
  • $sudo docker-compose up

Stop docker-compose: $sudo docker-compose down

When JSON export files are updated, It is important to delete the 'data' directory of the source directory before rebuilding docker

Clear unused docker image data: $sudo docker system prune

Sources Chatbot Base UI

Acknowledgment This work is funded by the "Food Nutrition Security Cloud (FNS-Cloud). The project has received funding from the European Union’s Horizon 2020 Research and Innovation programme (H2020-EU.3.2.2.3. – sustainable and competitive agri-food industry) under Grant Agreement No. 863059.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published