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
Then, change working directories to the local repository's `content` directory:
18
+
19
+
```
20
+
cd projectpythia.github.io/content
21
+
```
22
+
23
+
Set up your a conda environment:
24
+
13
25
```
14
26
conda env create -f ../ci/environment.yml
15
27
conda activate pythia
16
28
```
17
29
18
-
You can then build the site:
30
+
You can then build the site with:
31
+
19
32
```
20
33
make html
21
34
```
22
-
and view the built site in your web browser with
35
+
36
+
After building the site it may be possible to preview the portal in your web browser by simply opening the `index.html` file:
37
+
23
38
```
24
39
open _build/html/index.html
25
40
```
26
41
42
+
However, many of the links will not work. For all of the links found in the portal to work properly, you'll need to set up a local testing server. This can be done with Python's http.server by running the following command from within the `content` directory:
43
+
44
+
```
45
+
python -m http.server --directory _build/html/
46
+
```
47
+
48
+
and then pointing your browser at the URL: `localhost:8000`.
49
+
50
+
More information on setting up a local test server is available from [here](https://developer.mozilla.org/en-US/docs/Learn/Common_questions/set_up_a_local_testing_server)
51
+
52
+
27
53
You can find more details in the [Contributor's Guide](https://projectpythia.org/pages/contributing.html).
0 commit comments