Add Netlify support and Netlify button

This commit is contained in:
Roman Komarov 2018-05-18 12:27:37 +02:00
parent 11321d8cf0
commit 3e40232a66
2 changed files with 12 additions and 0 deletions

View File

@ -20,6 +20,14 @@ Follow [@shower_me](https://twitter.com/shower_me) for support and updates, [fil
1. Download and unzip [template archive](http://shwr.me/shower.zip) 1. Download and unzip [template archive](http://shwr.me/shower.zip)
2. Open `index.html` and start creating your presentation 2. Open `index.html` and start creating your presentation
## Deploy to Netlify
By clicking the button below you can fork this repo and deploy it to Netlify.
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/shower/shower)
By doing this you would get a GitHub repo linked with Netlify in a way any change to the repo would trigger a shower rebuild and deploy to Netlify servers, which allows for a really easy way to create and share Shower presentation without the need to install anything locally.
## Advanced ## Advanced
1. Clone this repository locally `git clone git@github.com:shower/shower.git`. 1. Clone this repository locally `git clone git@github.com:shower/shower.git`.

4
netlify.toml Normal file
View File

@ -0,0 +1,4 @@
[build]
publish = "prepared"
command = "npm run prepare"