Coder Social home page Coder Social logo

anjuke.github.com's Introduction

Anjuke Engineering Blog

http://arch.corp.anjuke.com


How to contribute

You should have ruby and bundler installed in order to generate the static pages.

I'm using ruby-2.0.0p0.

Please refer the official page for installing bundler.

Preparing

Clone and checkout source branch.

$ git clone [email protected]:anjuke/anjuke.github.com.git
$ cd anjuke.github.com
$ git checkout -B source origin/source

Now bootstrap and install dependencies.

$ script/bootstrap

Generate pages

Save you new post to source/_posts directory. You may also attach some small media files to medias directory.

When you're done type the following in the terminal.

$ rake generate

Preview

Before deploy you may preview the site in a web browser locally.

$ rake preview

Open http://localhost:4000 in your browser.

Deploy

Everything looks OK? Cool, you are able to live the site by the following

$ rake deploy

Open http://arch.corp.anjuke.com to check online.

Remember to push your source branch to origin repo otherwise other people may overwrite you works.

Pull-request

If you don't have push permission of this repo, you are unable to deploy the site directly. But you can still use pull-request to contribute.

pull-request is preferred.

anjuke.github.com's People

Contributors

erning 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.