Skip to content

Commit 5228eab

Browse files
authored
Add deploy buttons to readme
1 parent 800b642 commit 5228eab

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,16 @@ Then navigate to http://localhost:3007 and click on the buttons to see some reac
2929

3030
## Deployment
3131

32-
- Heroku: <a href="https://www.heroku.com/deploy/?template=https://github.com/styfle/react-server-example-tsx"><img src="https://www.herokucdn.com/deploy/button.svg" alt="Deploy" height="20px"></a>
33-
- ZEIT Now: `npx now -e NODE_ENV=production styfle/react-server-example-tsx`
32+
33+
<a href="https://www.heroku.com/deploy/?template=https://github.com/styfle/react-server-example-tsx"><img src="https://www.herokucdn.com/deploy/button.svg" alt="Deploy to Heroku" height="25px"></a>
34+
35+
<a href="https://deploy.now.sh/?repo=https://github.com/styfle/react-server-example-tsx"><img src="https://deploy.now.sh/static/button.svg" alt="Deploy to Now" height="25px"></a>
36+
37+
Don't forget to set the environment variable `NODE_ENV=production` to avoid the slower, dev version of React. Like so:
38+
39+
```sh
40+
npx now -e NODE_ENV=production styfle/react-server-example-tsx
41+
```
3442

3543
## Preventing XSS
3644

0 commit comments

Comments
 (0)