Prerequisites
Install:
- git
- ruby >= 1.9
- clone octopress repo
- in some system is required
ruby-devel
- rake
further info here: http://octopress.org/docs/setup/
Setup
Now it is required to execute the following commands
inside the octopress
folder:
1
|
|
After the operation completed, in some system is required to add a gem in the ‘Gemfile’ so edit it appending a dependency:
gem 'json'
and it looks like:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
Now we can finish the setup with:
1
|
|
and finish with installing the default theme:
1
|
|
GitHub Page
Execute the following command and it will ask you for your repository URI:
1
|
|
After that run:
1
|
|
Deploy
Simply run:
1
|
|
Pre Deploy operation
It can be required to do a pull operation in the _deploy
folder,
if it is the case, because the deploy has failed, inside the _deploy
folder run:
1
|
|