add windows powershell script

This commit is contained in:
Fyery
2019-04-16 10:41:03 -07:00
committed by Denise
parent d9cec7cb0a
commit fcbb585eff
2 changed files with 86 additions and 0 deletions
+12
View File
@@ -5,16 +5,28 @@ Rancher Docs
The `rancher/docs:dev` docker image runs a live-updating server. To run on your workstation, run:
Linux
```bash
./scripts/dev
```
Windows
```powershell
./scripts/dev-windows.ps1
```
and then navigate to http://localhost:9001/. You can customize the port by passing it as an argument:
Linux
```bash
./scripts/dev 8080
```
Windows
```powershell
./scripts/dev-windows.ps1 -port 8080
```
License
=======
Copyright (c) 2014-2019 [Rancher Labs, Inc.](http://rancher.com)