Giter Site home page Giter Site logo

home-assistant.io's Introduction

Home Assistant website

This is the source for the Home Assistant website available at Home-Assistant.io. All commits made to the master branch will be automatically pushed to production.

Please point your Pull Request (PR) at the next branch.

Jekyll project to generate and deploy

Command Action
rake preview Preview site on http://127.0.0.1:4000
rake generate Generate new version of the site
rake deploy Deploy a new version of the site

Generating and deploying is no longer necessary as we now have auto-deply.

Setup

You need to have Ruby installed.

$ git clone --recursive https://github.com/balloob/home-assistant.io.git
$ cd home-assistant.io
$ bundle

Create a new blog post

$ rake new_post["title"]

Site preview

$ rake preview

The preview is now available on http://127.0.0.1:4000.

Steps for the deployment of the site

All developers with write access to the repositories are able to deploy the website. The deploy process is fully automated with rake generate && rake deploy.

$ git submodule update --init
$ cd _deploy
$ git fetch
$ git pull origin gh-pages
$ cd ..
$ rake generate && rake deploy
TZ=UTC rake generate && rake deploy

Setup on Fedora and CentOS

On Fedora > 22 or CentOS 7.1.1503 Ruby is not available by default. Please take the notes here as a little guide for the Ruby installation process.

$ curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
$ curl -L get.rvm.io | bash -s stable
$ source ~/.profile
$ rvm requirements
$ rvm install ruby-2.2.3
$ rvm use ruby-2.2.3 --default
$ ruby -v

The last command will give you something like this ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]. Then install bundler.

$ gem install bundler

Now please follow the Setup instructions above.

home-assistant.io's People

Contributors

fabaff avatar imathis avatar balloob avatar fhemberger avatar parkr avatar greenturtwig avatar rmkraus avatar tomduijf avatar philipbl avatar nkgilley avatar maddox avatar pilif avatar sfam avatar rslifka avatar gisikw avatar gottsman avatar zlu avatar hydrelioxgithub avatar pavoni avatar omo avatar haacked avatar flyte avatar bendoerr avatar happyleavesaoc avatar treyhunner avatar tomhoover avatar rwdaigle avatar duckpuppy avatar mikl avatar lukearmstrong avatar

Stargazers

David Pérez Espino avatar ACTPO HOMOC avatar MANOJ PILLAI avatar

Watchers

Tino Bedi avatar MANOJ PILLAI avatar ACTPO HOMOC 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.