README.md 1.23 KB
Newer Older
1
2
3
4
5
6
# Solid state lectures

Lecture notes and teaching material used for the Delft University of Technology course Solid State Physics (Vaste Stof Fysica, TN2844).

The compiled materials are available at http://solidstate.quantumtinkerer.tudelft.nl

7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
## How to compile
To compile it is advised to use a separate environment. We use miniconda for environment management, which can be found at https://docs.conda.io/en/latest/miniconda.html

First create a new conda environment named `lectures` with Python 3.6 and activate it. You can also use another environment manager of your choice.

```sh
conda create -n lectures python=3.6
conda activate lectures
```

Clone this repository and enter the directory.

```sh
git clone https://gitlab.kwant-project.org/solidstate/lectures.git
cd lectures
```
Install the required packages from `requirements.txt`.

```sh
pip install -r requirements.txt
```

And finally run `execute.py` to prepare the source files for `mkdocs`.

```sh
python execute.py
```

Now that all the files are where they should be, you can either run a development server or build the files for deployment using `mkdocs`. The commands to achieve this are:

```sh
mkdocs serve  # Run a development server
mkdocs build  # Build for deployment
```