Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhenkyle/myblog
https://github.com/zhenkyle/myblog
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/zhenkyle/myblog
- Owner: zhenkyle
- Created: 2014-06-08T13:07:33.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-19T02:11:58.000Z (almost 10 years ago)
- Last Synced: 2024-10-07T13:41:11.888Z (3 months ago)
- Language: CSS
- Size: 609 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# myblog
This is my blog site's source.
Here is setup guide.
### Install rvm
```
\curl -sSL https://get.rvm.io | bash -s stable
source /home/zhenkyle/.rvm/scripts/rvm
rvm install ruby
rvm list
rvm use ruby
```### Install git
```
[ubuntu] sudo apt-get install git
[osx] brew install git
```
### Install nodejs & npmnodejs & npm is needed by foundation 5
```
[ubuntu] sudo apt-get install nodejs
[ubuntu] sudo apt-get install npm
[ubuntu] sudo ln -s /usr/bin/nodejs /usr/bin/node
[ubuntu] sudo npm install -g bower grunt-cli
[osx] brew install node
[osx] brew install npm
[osx] npm install -g bower grunt-cli
```### Install bundler
I use bundler to manager jekyll and foundation version
```
gem update --system
gem update
gem install bundler
```### Git clone
```
git clone [email protected]:zhenkyle/myblog.git
```### Setup requirments
```
cd myblog
npm install
bower install
bundle install --binstubs
bin/jekyll -v #2.0.3
bin/foundation version #1.0.4
```### Start developing enviroment
build scss and watch for change
```
grunt
```in another console, start jekyll serve and watch for change
```
jekyll serve -w
```### Deloyment
I use git user Page to deploy, here are two simple rake tasks.
#### Setup deloy enviroment
```
rake setup
```#### Deploy to git user page
```
rake deploy
```