How to setup dev project - ntnu-informatikk-2021/SDG-ontology-visualizer GitHub Wiki

  1. Clone the repo.
  2. run npm install in both backend and frontend folders.
  3. Download and install Graph DB, and import an ontology. If you don't have an ontology you can use this wine ontology sample.
  4. Run GraphDB and create a new user with access rights to your repository. Create a file named .env in the server folder and paste the credentials from GraphDB. See .env.example. By default Graph DB lets you make queries without being logged in, so it's actually not necessary just yet, but you might as well do it now. If you want to restrict access to your repository you can set security ON in the Graph DB portal under Setup -> Users and access.
  5. Install Prettier and make it format your code automatically every time you save. Check out this wiki page if you're not sure how to do that.