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
-
25
-
```
26
-
conda env create -f ../ci/environment.yml
27
-
conda activate pythia
28
-
```
29
-
30
-
You can then build the site with:
31
-
32
-
```
33
-
make html
34
-
```
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
-
38
-
```
39
-
open _build/html/index.html
40
-
```
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
-
You can find more details in the [Contributor's Guide](https://projectpythia.org/pages/contributing.html).
8
+
Information on contributing is available [here](CONTRIBUTING.md)
Which will prompt you for a log message. Please provide something informative. If you make lots of changes, it is best to make multiple commits, broken up into related chunks. E.g. “fixed x”, “added documentation”, “added testing”.
364
373
365
-
> **Note:** When executing `git commit` after `git add PATH_TO_NEW_FILE`,
366
-
> specifying the path to the new file isn't stricly necessary. However,
367
-
> in other instances the file path argument is required. We include it
368
-
> here to keep things simple.
374
+
```{Note}
375
+
When executing `git commit` after `git add PATH_TO_NEW_FILE`,
376
+
specifying the path to the new file isn't stricly necessary. However,
377
+
in other instances the file path argument is required. We include it
378
+
here to keep things simple.
379
+
```
369
380
370
381
Depending on which repo you are making changes to, a `pre-commit`
0 commit comments