Merge pull request #348 from ishpartko/new-way-to-import-repo

added new way to copy the project
This commit is contained in:
Vadim Makeev 2019-05-16 02:34:02 -04:00 committed by GitHub
commit 744e8dc59d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 5 deletions

View File

@ -29,11 +29,10 @@ By doing this you would get a GitHub repo linked with Netlify in a way any chang
## Advanced ## Advanced
1. Сlone this repository `git clone --depth=1 git@github.com:shower/shower.git`, (`--depth=1` will make it way faster). ### Get your own Shower
2. [Create](https://github.com/new) a new blank repository and copy its cloning address `git@github.com:USER/REPO.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`. 1. Copy Shower in your account via [GitHub](#copy-via-github) or via [CLI](#copy-via-cli)
4. Push your local clone to GitHub `git push -u origin master`. 2. Install dependencies `npm install` and start it `npm start`.
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:
@ -45,6 +44,20 @@ And youll find your presentation in `prepared` folder with only needed files
And youll have your slides published to `http://USER.github.io/REPO/`. And youll have your slides published to `http://USER.github.io/REPO/`.
#### Copy via GitHub
1. Open [import page](https://github.com/new/import).
2. For the repository URL use `https://github.com/shower/shower`.
3. For the name use any name you want, your presentation name would be the best.
4. Clone the resulted repository to your computer.
#### Copy via CLI
1. Сlone this repository `git clone --depth=1 git@github.com:shower/shower.git`, (`--depth=1` will make it way faster).
2. [Create](https://github.com/new) a new blank repository and copy its cloning address `git@github.com:USER/REPO.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`.
4. Push your local clone to GitHub `git push -u origin master`.
## Usage Examples ## Usage Examples
- [Semantic for cynics](https://pepelsbey.net/pres/semantics/en/) - [Semantic for cynics](https://pepelsbey.net/pres/semantics/en/)