Git Product home page Git Product logo

blog's Introduction

Michał's Octopress Blog

Using Dockerized version of Octopress:

docker build -t karzyn_octopress .
docker run -v /.../karzyn_octopress:/srv/karzyn_octopress -it karzyn_octopress
root@container:/srv/karzyn_octopress# rake generate

Documentation

Octopress is Jekyll blogging at its finest. Check out Octopress.org for guides and documentation.

Installing Octopress dependencies

sudo gem install bundler
brew update
brew install rbenv ruby-build
rbenv init
rbenv rehash
bundle install
bundle exec rake generate ...

Common tasks

Creating a new post or page

bundle exec rake new_page\["page title"\]
bundle exec rake new_post\["post title"\]

Remember this if you run into encoding problems

export LANG=en_US.utf-8

Preview your site

bundle exec rake preview
bundle exec rake generate
python -m SimpleHTTPServer 8080

Generate site files and deploy

bundle exec rake generate && bundle exec rake watch
bundle exec rake isolate\["about-me"\]
bundle exec rake integrate
bundle exec rake generate
bundle exec rake watch
bundle exec rake deploy

Commit changes to Repo

git commit -m 'Customization'
git push

Update Octopress engine

git pull octopress master     # Get the latest Octopress
bundle install                # Keep gems updated
rake update_source            # update the template's source
rake update_style             # update the template's style

More info: http://octopress.org/docs/updating/

blog's People

Contributors

bendoerr avatar dependabot-preview[bot] avatar elbowdonkey avatar fhemberger avatar floydpink avatar gisikw avatar imathis avatar jakemcc avatar lukearmstrong avatar mikl avatar omo avatar parkr avatar pfista avatar pilif avatar postrational avatar pw avatar robertkowalski avatar rretsiem avatar rslifka avatar rtgibbons avatar rwdaigle avatar samwhited avatar scottwater avatar sjml avatar sp3c73r2038 avatar tgray avatar tomhoover avatar treyhunner avatar vyper avatar zlu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ceovenu

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.