https://github.com/vunb/kites-website
Website of Kites
https://github.com/vunb/kites-website
kites-framework
Last synced: over 1 year ago
JSON representation
Website of Kites
- Host: GitHub
- URL: https://github.com/vunb/kites-website
- Owner: vunb
- Created: 2018-04-19T15:36:22.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-22T01:26:54.000Z (almost 8 years ago)
- Last Synced: 2025-01-29T04:34:55.899Z (over 1 year ago)
- Topics: kites-framework
- Language: CSS
- Homepage: https://kites.nodejs.vn
- Size: 1.44 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to deploy the website
## #1. Install development tools.
* Required OS: `Ubuntu 16.04` or `Bash on Ubuntu on Windows`
* Steps to do:
* `sudo apt-get update`
* `sudo apt-get install ruby ruby-dev make build-essential`
* `gem -v`
* `sudo gem install jekyll bundler`
## #2. Build dependencies
* Required Node.js v6.9.1 and NPM v3.10.8 or newer
* Steps to do:
* `cd path/to/website/project`
* `npm install`
* //postInstall: `bundle install --path ./gem_modules/bundle`
## #3. Build project
* Build: `npm run build`
## #4. Publish project
* Deploy: `npm run deploy`
* Publish: `cd dist && git add . && git push origin gh-pages`
# gh-pages as a project submodule
```bash
> git submodule add -b gh-pages --name dist git@github.com:vunb/kites.git dist
> git submodule update --remote
```
# References
* [Install `jekyll` 3.7.3 on Ubuntu 16.04](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-jekyll-development-site-on-ubuntu-16-04)
* `gem -v` prints `2.5.2.1` or newer.