Giter Site home page Giter Site logo

big_data_platforms's Introduction

Big Data Platforms homework guide

Step 1: Download and Install Docker

  1. Windows:
    • Visit the Docker for Windows page.
    • Follow the instructions to download and install Docker Desktop.
    • After installation, launch Docker from the Start menu. ​
  2. macOS:
    • Visit the Docker for macOS page.
    • Follow the instructions to download and install Docker Desktop.
    • After installation, launch Docker from the Applications folder. ​
  3. Linux:
    • For Linux, the installation steps depend on your distribution. Follow the instructions provided on the Docker for Linux page. ​

Step 2: Get released homework files

You could either download the homework files from this repository or from Google Drive. The homework files are the same. ​

Step 3: Start Jupyter Notebook Container

  1. Open a terminal or command prompt and navigate to the folder containing the downloaded homework files. ​
  2. Pull the docker image with the following command: (You only need to do this once)
    docker pull hainingt/big_data_platforms:latest
  3. Start a Jupyter Notebook container with the following command: From Windows:
    docker run --name bdp_homework --rm -p 8888:8888 -v %cd%:/home/jovyan/work hainingt/big_data_platforms:latest 
    From macOS and Linux:
    docker run --name bdp_homework --rm -p 8888:8888 -v $(pwd):/home/jovyan/work hainingt/big_data_platforms

Some notes about the above command:

  • In case of you cannot find the local folder in the Jupyter Notebook, please check the permission of the folder. You can change the permission by running the following command before starting the container:
     chmod 777 -R .
  • If you're using Docker Desktop on Windows or macOS, check your Docker Desktop settings. In some cases, you may need to explicitly grant Docker Desktop access to certain directories.
  • Make sure there is no other Jupyter Notebook container running on port 8888. ​
  • Make sure there is no illegal character in the path of the folder. You can also replace the aforementioned command with the absolute path of the folder. ​
  1. Open the jupyter notebook in your browser by copying the URL with the token from the terminal or command prompt. The URL should look like this:
    http://127.0.0.1:8888/?token=<TOKEN_VALUE>
    

Step 4: Access and Save Jupyter Notebook

  1. Open a web browser and paste the copied URL with the token. ​
  2. You will be directed to the Jupyter Notebook interface in your browser. ​
  3. Create or open a notebook, work on it, and save the results within the Jupyter environment. ​
  4. To save the notebook to your local machine:
    • Click on "File" in the Jupyter interface.
    • Select "Download as" and choose the desired format (e.g., Notebook (.ipynb)). ​

Step 5: Stop and Remove Jupyter Notebook Container

  1. To stop the container, press Ctrl+C in the terminal or command prompt where you started the container.
  2. If the container is running in the background, you can stop it with the following command:
    docker stop bdp_homework
    The container will be automatically removed when it is stopped. ​

Step 6: Upload Jupyter Notebook to Mooc Page

  1. Go to the big-data-platforms-23 Mooc Page and sign in with your Mooc account.
  2. The submission box is in the bottom of the page. Choose the assignment title and upload your notebook file. ​

Step 7: Receive Feedback

  1. Every one hour the server will autograde your submission and generate the feedback result.
  2. The feedback result will be sent to your email address (the one you used to register the Mooc account) from bigdata.platforms.feedback.gmail.com. Please check your spam folder if you cannot find the email.
  3. You can submit multiple times and the system will only record the best score.

big_data_platforms's People

Contributors

tonghaining avatar

Watchers

 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.