2018-11-23 01:14:31 +03:00
|
|
|
---
|
|
|
|
permalink: /index.html
|
|
|
|
---
|
|
|
|
|
2017-05-19 20:56:58 +03:00
|
|
|
# Gogh
|
2018-12-06 19:47:21 +03:00
|
|
|
|
|
|
|
## DEV Website
|
|
|
|
|
|
|
|
### Pre:
|
|
|
|
|
|
|
|
- node
|
|
|
|
- npm
|
2020-03-06 07:29:02 +03:00
|
|
|
- Gulp
|
2018-12-06 19:47:21 +03:00
|
|
|
|
|
|
|
## Start:
|
|
|
|
|
2020-03-06 07:29:02 +03:00
|
|
|
- In root repo folder
|
2018-12-06 19:47:21 +03:00
|
|
|
- Run `npm install`. This will install all dependencies the project needs.
|
|
|
|
- Run `gulp dev` and start coding .
|
2020-03-06 07:29:02 +03:00
|
|
|
- Got to `./gh-pages/`
|
|
|
|
----
|
|
|
|
|
|
|
|
## Add theme
|
|
|
|
|
|
|
|
- Add preview image in `./images/` folder.
|
|
|
|
- Go to `./gh-pages/data/themes.js` and add your theme there.
|
2018-12-06 19:47:21 +03:00
|
|
|
|
2017-05-19 20:56:58 +03:00
|
|
|
----
|
2018-12-06 19:47:21 +03:00
|
|
|
|
2017-05-19 20:56:58 +03:00
|
|
|
To push changes into gh-pages
|
|
|
|
|
2018-12-06 19:47:21 +03:00
|
|
|
```bash
|
2017-05-19 21:01:09 +03:00
|
|
|
$ git subtree push --prefix gh-pages origin gh-pages
|
|
|
|
```
|
|
|
|
|
|
|
|
Delete remote branch
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ git push origin --delete gh-pages
|
2017-05-19 20:56:58 +03:00
|
|
|
```
|