Coder Social home page Coder Social logo

myblog's Introduction

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 & npm

nodejs & 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

myblog's People

Contributors

zhenkyle avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.