DEVELOPMENT.md 1.1 KB
Newer Older
M
michaelawyu 已提交
1 2
# Developing the Tekton website

3
- [Developing the Tekton website](#developing-the-tekton-website)
4 5
- [Running Locally](#running-locally)
- [tekton.dev](#tektondev)
M
michaelawyu 已提交
6

7
## Dependencies
M
michaelawyu 已提交
8

9 10 11 12 13 14 15
* [python3](https://www.python.org/downloads/) 
* [hugo (EXTENDED VERSION)](https://github.com/gohugoio/hugo/releases)
* [pip](https://pip.pypa.io/en/stable/installing/)
* [npm v6.14.5](https://nodejs.org/en/)
* [node v14.3.0](https://nodejs.org/en/)
* [netlify cli](https://cli.netlify.com/getting-started)
* [netlify account](https://app.netlify.com/)
M
michaelawyu 已提交
16

17
## Running Locally
18

19
Step 1
20
```bash
21
git clone https://github.com/tektoncd/website && cd website
22
```
23 24 25 26 27 28 29 30 31 32 33 34 35
Step 2
```bash
npm install
```
Step 3
```bash
pip install -r requirements.txt
```
Step 4
```bash
python3 sync/sync.py
```
Step 5
36
```bash
37
netlify dev
38 39 40 41
```

## tekton.dev

42
- The latest website is available at [https://tekton.dev/](https://tekton.dev/).
S
Steve Martinelli 已提交
43
- The old website is available at [https://tekton-old.netlify.app/](https://tekton-old.netlify.app/) and based on the branch [website-old](https://github.com/tektoncd/website/tree/website-old).