Skip to content

Commit 41b4c67

Browse files
Merge pull request #7 from NSAPH-Software/feature/6-Contribution-instructions
Contribution instructions
2 parents 5601dfa + 2a1c375 commit 41b4c67

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# National Studies on Air Pollution and Health Software
2+
3+
This repo builds the NSAPH Software website, which is a collection of open-source packages to carry out **N**ational **S**tudies on **A**ir **P**ollution and **H**ealth.
4+
5+
To contribute to the website, please run the following:
6+
7+
```bash
8+
# clone this repository
9+
git clone https://github.com/NSAPH-Software/nsaph-software.github.io.git
10+
11+
# change directory to the cloned repository
12+
cd nsaph-software.github.io
13+
14+
# install the required packages
15+
conda install -f env_dev.yml
16+
17+
# build the website using make
18+
make
19+
```
20+
21+
Importantly, the make command will build the website and also go through the process of copying the build files to the `docs` directory, which is where GitHub Pages will serve the content from.
22+
23+
To preview the website locally, you can simply open the file `docs/index.html` in your web browser once the `make` command has completed.

0 commit comments

Comments
 (0)