|
1 |
| -## EKS Workshop |
| 1 | +master branch:  |
2 | 2 |
|
3 |
| -AWS Workshop tutorials for EKS |
| 3 | +jenkinsworld branch:  |
4 | 4 |
|
5 |
| -## License Summary |
| 5 | +tigera branch:  |
| 6 | + |
| 7 | +# eksworkshop |
| 8 | + |
| 9 | +### Setup: |
| 10 | + |
| 11 | +#### Install Hugo: |
| 12 | +On a mac: |
| 13 | + |
| 14 | +`brew install hugo` |
| 15 | + |
| 16 | +On Linux: |
| 17 | + - Download from the releases page: https://github.com/gohugoio/hugo/releases/tag/v0.46 |
| 18 | + - Extract and save the executable to `/usr/local/bin` |
| 19 | + |
| 20 | +#### Clone this repo: |
| 21 | +From wherever you checkout repos: |
| 22 | +`git clone [email protected]:aws-samples/eks-workshop.git` (or your fork) |
| 23 | + |
| 24 | +#### Clone the theme submodule: |
| 25 | +`cd eksworkshop` |
| 26 | + |
| 27 | +`git submodule init` ; |
| 28 | +`git submodule update` |
| 29 | + |
| 30 | +#### Install Node.js and npm: |
| 31 | +You can follow instructions from npm website: https://www.npmjs.com/get-npm |
| 32 | + |
| 33 | +#### Install node packages: |
| 34 | +`npm install` |
| 35 | + |
| 36 | +#### Run Hugo locally: |
| 37 | +`npm run server` |
| 38 | +or |
| 39 | +`npm run drafts` to see stubbed in draft pages. |
| 40 | + |
| 41 | +`npm run build` will build your content locally and output to ./public/` |
| 42 | +`npm run test` will test the built content for bad links |
| 43 | + |
| 44 | +#### View Hugo locally: |
| 45 | +Visit http://localhost:1313/ to see the site. |
| 46 | + |
| 47 | +#### Making Edits: |
| 48 | +As you save edits to a page, the site will live-reload to show your changes. |
| 49 | + |
| 50 | +#### Auto Deploy: |
| 51 | +Any commits to master will auto build and deploy in a couple of minutes. You can see the currently |
| 52 | +deployed hash at the bottom of the menu panel. |
| 53 | + |
| 54 | +Any commits to a branch will auto build and deploy in a couple of minutes to a custom route named with the branch name. You can see the currently |
| 55 | +deployed hash at the bottom of the menu panel. |
| 56 | +An example is the "jenkinsworld" branch would be deployed to https://eksworkshop.com/jenkinsworld/ |
| 57 | + |
| 58 | +note: shift-reload may be necessary in your browser to reflect the latest changes. |
6 | 59 |
|
7 |
| -This sample code is made available under a modified MIT license. See the LICENSE file. |
|
0 commit comments