Skip to content

Lab & Development Environment

Mikael Roos edited this page Jan 13, 2020 · 17 revisions

You need a set of basic development tools. You can use those as proposed below, or choose your own liking.

General setup

These are the tools you will need to enter the course.

Texteditor

You need a texteditor or a more advanced Integrated Development Environment (IDE). A plain texteditor will suffice, for example Atom or Visual Studio Code.

Git

You need the code versioning system Git. I propose you work in a terminal, but the GIT GUI might also work.

You should configure your installation of Git, that is to identify yourself as the one that have changed the code. This is done in the terminal.

git config user.email "your@email.somewhere"
git config user.name "Your Name"

GitHub

GitHub is a website offering hosting of Git repos and additional services. You should create your own personal account on GitHub. You will need it when you later on create your own git repo for the course.

Git Course Repo

Once you have Git installed you can clone the course repo to your local harddrive.

git clone https://github.com/Webbprogrammering/websoft.git
cd websoft

The repo contains a folder named example/, check it out to see what it contains.

Create a working directory in the repo

Note. Do not change any of the existing files in the repo. That prevents you to get an updated version of the course repo.

Instead, make your own directory work/, in the repo, and save all your files and example programs. You can then copy examples into work and play around and change them as you wish.

Get updated course repo

There may be updates to the course repo and you can retrieve those update to your local version of the repo lite this.

# Change directory to the repo
git update

Remember to do this before you start working on each new course section.

Clone this wiki locally