| To start off right |
- Sign into Canvas to confirm that you're registered for the course and can see your grades. It's imperative that you check your grades on a regular basis.
- Sign into Piazza. Post class questions to Piazza. Regarding a question of a personal nature, e-mail us on Canvas.
- Get a CS account. Your projects must run in the CS Labs. If you need any technical support, you can contact UT ITS Help Desk.
- Get a GitLab account as soon as possible. It can take several days to get this, and you must have
it before you can turn in any projects.
- Get python3.6.8 installed on your machine.
Installation instructions for Python for
The CS network has: $ python3 --version
Python 3.6.9
- Get coverage installed on your machine.
$ pip install coverage
The CS network has: $ coverage --version
Coverage.py, version 4.5.2 with C extension
Documentation at https://coverage.readthedocs.io
- Get git installed on your machine. The CS network has:
$ git --version
version 2.28.0
Note: After installing git on your machine, you need to configure it. To configure git, go to the "git" tab on the class webpage and run the commands under "Configuring git".
- Get pydoc3 installed on your machine. The CS network has:
$ ls -al /usr/bin/pydoc3
lrwxrwxrwx 1 root root 8 Jan 8 2019 /usr/bin/pydoc3 -> pydoc3.6
Notes: On Windows machines, pydoc is executed as follows: $ python -m pydoc
- Install autopep8 and pylint
% pip install autopep8
% pip install pylint
Note: Don't forget to "edit" the variable named "path" which is under the "System variables" category in "system environment variables" to create a "new" path to the autopep and pylint location. On my machine, the path is "C:\Users\fares\AppData\Local\Programs\Python\Python36\Scripts".
- You need a text editor. I use NotePad++.
- You need a command-line shell. I use bash that comes with git on Windows (or you can use "terminal" that comes with Mac OSX).
If you have already installed git, bash can be found in git > bin > bash. The path to "bash" on my machine is as follows: "C:\Program Files\Git\bin"
|
To access UTCS machines from your local machine |
To access UTCS machines using using a MAC OSX machine or a Windows machine, first you need to obtain a UTCS account and get your UTCS credentials.
Then, if you need to access UTCS machines from off campus, you must first establish a secure connection to the campus network using the virtual private network (VPN).
- MAC OSX: You need SSH and SFTP to communicate to a UTCS machine (using your UTCS credentials). The details of the installation/use process can be found here.
- Windows: You need SSH and SFTP to communicate to a UTCS machine (using your UTCS credentials). The details of the installation/use process can be found here.
At this point, you are ready to type in Unix/Linux commands.
|
Windows Machine setup for Project #1 |
Projects must run in the CS Labs.
If you decided to work on your Windows machine, just make sure after you finish your project that it can be built on a UTCS machine, which will be used for grading.
To setup your Windows machine, you have to do several things.
- In order to have the "make" command working, you need to install MinGW
After installing MinGW, check in c:\MinGW if you have the "msys" folder.
If it is not there, open MinGW Installation Manager. From the menu to the left, select "Basic Setup". From the menu to the right, select "msys-base-bin". Finally, Select "Installation" then press "Update Catalogue"
Then find msysbase (or something along that line) and check it, go back to installation and apply changes.
Note that after installation you will have a folder on C:, namely c:\MinGW. You need to
enter the system variable PATH and add the path to the bin folder. On my machine, the path is "C:\MinGW\msys\1.0\bin"
- To access and update system environment variables:
- Go to: Control Panel > System and Security > System > Advanced System settings > Advanced > Environment variables
- System variables > Path > Edit > New > Paste the Path-to-the-bin-folder. On my machine the path is "C:\MinGW\msys\1.0\bin".
- Pydoc on Windows should be run as follows.
|