Skip to content

Add deployment instructions for ZEIT Now #931

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 21, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ When using the HTML5 router, you need to set up redirect rules that redirect all
/* /index.html 200
```

## ZEIT Now

1. Install [Now CLI](https://zeit.co/download), `npm i -g now`
2. Change directory to your docsify website, for example `cd docs`
3. Deploy with a single command, `now`

## AWS Amplify

1. Set the routerMode in the Docsify project `index.html` to *history* mode.
Expand Down Expand Up @@ -128,4 +134,3 @@ frontend:
|----------------|----------------|---------------|
| /<*>.md | /<*>.md | 200 (Rewrite) |
| /<*> | /index.html | 200 (Rewrite) |