You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On this website hit `.` to enter into the web editor. From this, you can submit suggested patches and fix typos. This will help you create a [pull request](https://quantecon.github.io/lecture-julia.myst/software_engineering/version_control.html#collaboration-via-pull-request) for maintainers here to examine.
27
10
28
-
- Go to settings with `<Ctrl-Shift-P>` and search for the following settings to change:
29
-
-`files.eol` to `\n`
30
-
-`enablePreviewFromQuickOpen` to turn it off
31
-
-`Tab Size` to `4`
11
+
## Local Development
32
12
33
-
4. If on Windows, install [git](https://git-scm.com/downloads)and run the following in a terminal
13
+
It is straightforward to install the jupyterbook and julia software necessary for more significant changes.
34
14
35
-
```bash
36
-
git config --global core.eol lf
37
-
git config --global core.autocrlf false
38
-
```
15
+
### Setup
39
16
40
-
5. Clone this repository (in vscode, you can use `<Ctrl-Shift-P>`then`Clone`then`Clone from GitHub`then choose the repo as `https://github.com/QuantEcon/lecture-julia.myst`). Or with github desktop, choose the `<> Code` dropdown on this website
17
+
1.[Install Julia, Conda, and VS Code](https://quantecon.github.io/lecture-julia.myst/getting_started_julia/getting_started.html) following the documentation for using these notes
18
+
2. Modify [VS Code settings](https://quantecon.github.io/lecture-julia.myst/software_engineering/tools_editors.html#optional-extensions-and-settings) and consider [additional extensions](https://quantecon.github.io/lecture-julia.myst/software_engineering/tools_editors.html#optional-extensions). Some others to consider are the [MyST-Markdown](https://github.com/executablebooks/myst-vs-code) and [Spell Checking](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) extensions
19
+
3. Ensure that [Git](https://quantecon.github.io/lecture-julia.myst/software_engineering/version_control.html#setup) is setup correctly. In particular this ensures that Windows users use the linux end-of-line characters.
20
+
4. Clone this repository (in VS Code, you can use `<Ctrl+Shift+P>` then `Clone` then `Clone from GitHub` then choose the repo as `https://github.com/QuantEcon/lecture-julia.myst`).
41
21
42
-
6. Open this repository in vscode, either from Github Desktop with `<Ctrl-Shift-A>` or with `code .`in the right folder in a terminal
43
-
- After opening this repo, any terminals start at its root.
22
+
6. Open this repository in VS Code. If you cloned in a separate terminal, navigate to the directory and type `code .`
44
23
45
24
7. Start a vscode terminal with ``<Ctrl+`>`` or through any other method. Create a conda environment.
46
25
@@ -57,22 +36,7 @@ Source for julia.quantecon.org
57
36
- Then choose the interpeter with `lecture-julia.myst` which should now be automatically activated in the terminal.
58
37
- If the interpreter does not show up in the drop-down, close and reopen vscode, then try again. Alternatively, you can run this step at the end of the setup process.
59
38
- Whenever reopening vscode, re-run `conda activate lecture-julia.myst` to ensure the environment remains active.
60
-
61
-
9. Install general julia packages if not already installed.
62
-
63
-
```bash
64
-
julia -e 'using Pkg; Pkg.add("IJulia");'
65
-
```
66
-
67
-
On Windows, you should run the following instead to avoid a quoting issue:
68
-
69
-
```bash
70
-
julia -e "using Pkg; Pkg.add(\"IJulia\");"
71
-
```
72
-
73
-
If the terminal responds with `'Julia' is not recognized`, close and reopen vscode, then try again. Make sure to re-activate the environment.
74
-
75
-
10. Install Julia packages required for lecture notes.
39
+
9. Install Julia packages required for lecture notes.
76
40
77
41
```bash
78
42
julia --project=lectures --threads auto -e 'using Pkg;Pkg.instantiate();'
0 commit comments