Skip to content

Website Documentation

Caroline edited this page May 5, 2023 · 1 revision

Website Documentation

This website will be used to display content about our Textual Baseline Database.

Setup

  1. Pull from the GitHub to get the most up to date version of the website.
    • Place the mongo_credentials.txt file in the same directory as the DatabaseConnect.js script.

  1. If you do not have NodeJS installed run the following commands to install it
    • sudo apt update
    • sudo apt install nodejs

  1. If you do not have npm, install npm by running the following command
    • sudo apt install npm

  1. Now install the three required node modules
    • npm install express
    • npm install mongodb@3.7
    • npm install line-reader
    • npm install body-parser

  1. To start the website run the following command
    • nodejs DatabaseConnect.js

  1. To access the page locally open a browser and using the following url
    • localhost:8080

Clone this wiki locally