Merge pull request #319 from kizu/feature/netlify

Add Netlify support and Netlify button
This commit is contained in:
Vadim Makeev 2018-05-21 17:21:00 +03:00 committed by GitHub
commit 38b7c4857a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"