Commit bec9ad72 authored by Vadim Makeev's avatar Vadim Makeev

Update publishing process

parent 50f7bd54
...@@ -22,11 +22,11 @@ Follow [@shower_me](https://twitter.com/shower_me) for support and updates, [fil ...@@ -22,11 +22,11 @@ Follow [@shower_me](https://twitter.com/shower_me) for support and updates, [fil
## Advanced ## Advanced
1. [Fork](https://github.com/shower/shower/fork) this repository 1. Clone this repository locally `git clone git@github.com:shower/shower.git`.
2. Go to fork setting and rename it: `shower``my-slides` 2. [Create](https://github.com/new) a new blank repository and copy its cloning address `git@github.com:USER/REPO.git`.
2. Clone it to your computer: `git clone git@github.com:username/my-slides.git` 3. Change remote of your local clone to the one you’ve just copied `git remote set-url origin git@github.com:USER/REPO.git`.
3. Go to `my-slides` folder and install dependencies: `npm install` 4. Push your local clone to GitHub `git push -u origin master`.
4. Start creating your presentation 6. Install dependencies `npm install` and start it `npm start`.
Once you’re done you can build a clean copy of your slides: Once you’re done you can build a clean copy of your slides:
...@@ -36,7 +36,7 @@ And you’ll find your presentation in `prepared` folder with only needed files ...@@ -36,7 +36,7 @@ And you’ll find your presentation in `prepared` folder with only needed files
npm run publish npm run publish
And you’ll have your slides published on `http://username.github.io/my-slides/`. And you’ll have your slides published to `http://USER.github.io/REPO/`.
## Usage Examples ## Usage Examples
......
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
"run-sequence": "^2.1.0" "run-sequence": "^2.1.0"
}, },
"scripts": { "scripts": {
"start": "gulp",
"prepare": "gulp prepare", "prepare": "gulp prepare",
"archive": "gulp archive", "archive": "gulp archive",
"publish": "gulp publish", "publish": "gulp publish",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment