Giter VIP home page Giter VIP logo

very-large-distributed-data-volume-third-assignment's Introduction

Very-Large-Distributed-Data-Volume-third-assignment

Login

In order to login to the VM, you have to be connected to the NTNU VPN. How to do this can be found here.

Once you are connected with the VPN, you can login to the virtual machine.

Login VM

  1. Open your terminal
  2. By entering ssh <your_username>@tdt4225-14.idi.ntnu.no where <your_username> is your username from NTNU. 2.1. When asked is you want to continue, type yes. 2.2. When your password is asked, enter your Feide-password. 2.3. You should be logged in now.
  3. To open mysql, type sudo mysql.
  4. The credentials of the mysql user are sent in the Whatsapp group.

Python

To be able to run the files inside the folder "exercise2-files", you should download the data to your own pc and place it in the main foler of the project.

Install packages

  1. install virtualenv.
  2. Create and activate a virtual env: python -m venv .\venv\Scripts\activate.
  3. Install the required packages: python -m pip install -r requirements.txt.
  4. You also have to create a .env file before you can run the example.py. The content of this file is sent in the Whatssapp group.

MongoDB

Server problems

Every time we want to work at the assignment, sudo mongod --bind_ip_all has to be entered in the VM. To make it easier to work for us, I created a tmux and ran the command in there.

Connect

  1. If you had to run the command above, open a new terminal and ssh into the vm.
  2. run sudo mongosh

very-large-distributed-data-volume-third-assignment's People

Contributors

joranvanbelle avatar shiemn avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.