Update publishing process

This commit is contained in:
Vadim Makeev 2017-09-19 11:31:53 +03:00
parent 50f7bd5463
commit bec9ad7202
2 changed files with 7 additions and 6 deletions

View File

@ -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 youve 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 youre done you can build a clean copy of your slides: Once youre done you can build a clean copy of your slides:
@ -36,7 +36,7 @@ And youll find your presentation in `prepared` folder with only needed files
npm run publish npm run publish
And youll have your slides published on `http://username.github.io/my-slides/`. And youll have your slides published to `http://USER.github.io/REPO/`.
## Usage Examples ## Usage Examples

View File

@ -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",