Skip to content

Cloning this Repo (to local machine)

Eric Godat edited this page Aug 6, 2020 · 3 revisions

*This is not needed for this tutorial, see Editing Cloning this Repo

Using Git

Open Terminal (Mac/Linux) or Command Prompt (Windows) by searching for it by name on your computer. On Mac, the search icon is located at the top right of the screen and on Windows, the search icon is located at the bottom left. Windows users can also hit the Windows key and type cmd.

Now, navigate to the browser of your choice and open this link here.

Select the version of your choice and download git, a version control system.

Once the download is completed, navigate back to the Terminal/Command Prompt and type git --version (with two dashes) and hit enter. If you see the words "git version" followed by numbers, git was installed properly.

Now, change directories to your desktop by typing cd Desktop and hitting Enter.

Type git clone https://github.com/SouthernMethodistUniversity/Text_Mining_Python.git and hit Enter.

Alternative (without Git)

Click the Code button at the top of this page.

Click on the drop down on the green button and select "Download ZIP".

Unzip the file, and move it to Desktop by dragging and dropping it from Downloads.

Uploading to Docker

You can upload local files to Jupyter by selecting Upload and navigating to the files. This is not ideal for using with files tracked in git repositories as it disconnects the files from their version control but can be used to load data into the container from your local machine.

Binding to Docker (Non-trivial)

You might want to bind the repository to a Docker container. To do that on Windows or Mac, you need to open you Docker Desktop Dashboard (right -click on the small whale/ship icon). From there you can select the gear icon at the top. Then select Resources > File Sharing and click to add the path to the folder you wish to mount to the container.

Clone this wiki locally