Skip to content

Commit fcadf18

Browse files
authored
Update README.md
1 parent 07dfc79 commit fcadf18

1 file changed

Lines changed: 1 addition & 38 deletions

File tree

README.md

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,3 @@
1-
# UCSB Data Science Capstone Projects 2021
1+
# MAT244E: Statistics - Spring22
22

3-
This Jupyter book contains work from UCSB's Data Science Capstone Project Class sequence: https://ucsb-ds-capstone-2021.github.io/
43

5-
## Building locally for development
6-
7-
If you'd like to develop on and build the UCSB Data Science Capstone Projects 2021 book, you need to setup your environment:
8-
9-
- [Install Anaconda](https://docs.anaconda.com/anaconda/install/)
10-
- Create a virtual environment. Let's call it `jb`:
11-
```bash
12-
conda create -n jb python=3.8
13-
conda activate jb
14-
```
15-
- Clone and build Capstone 2021 Jupyter book repository:
16-
```bash
17-
git clone https://github.com/ucsb-ds-capstone-2021/ucsb-ds-capstone-2021.github.io.git
18-
pip install -r ucsb-ds-capstone-2021.github.io/requirements.txt ## install python dependencies
19-
conda activate jb ## makes newly installed packages available
20-
cd ucsb-ds-capstone-2021.github.io/ucsb_ds_capstone_projects_2021
21-
jupyter-book build .
22-
```
23-
- Rendered HTML version of the book will be in `./ucsb_ds_capstone_projects_2021/_build/html/`.
24-
- Start local webserver using [Python](https://docs.python.org/3/library/http.server.html):
25-
```bash
26-
cd _build/html
27-
python -m http.server
28-
```
29-
- (Optional) Issuing build command and reloading browser can be automated. Using [`live.js`](https://livejs.com) and some command line codes below can improve your experience.
30-
```bash
31-
# cd ucsb-ds-capstone-2021.github.io/ucsb_ds_capstone_projects_2021
32-
mkdir -p _static && \
33-
wget -nc -O _static/live.js https://livejs.com/live.js
34-
jb build . && \
35-
python -m http.server --directory _build/html 2>/dev/null &
36-
while inotifywait -re modify --exclude='_build' .
37-
do
38-
jb build .
39-
done
40-
```

0 commit comments

Comments
 (0)