-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
161 additions
and
489 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ _site | |
codekit-config.json | ||
vendor/ | ||
.bundle/ | ||
bundle/ | ||
node_modules | ||
.sass-cache | ||
.jekyll-metadata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
source "https://rubygems.org" | ||
|
||
gem 'jekyll', '2.5.3' | ||
gem 'jekyll-sitemap' | ||
gem 'redcarpet' | ||
gem 'rouge' | ||
gem 'github-pages', group: :jekyll_plugins | ||
gem 'octopress', '~> 3.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,31 @@ | ||
# [b-galati.github.io](http://b-galati.github.io) | ||
|
||
# Reminder | ||
## How-to | ||
|
||
```bash | ||
$ docker-compose run --rm web sudo -u jekyll bundle exec octopress new draft <draft-name> | ||
$ docker-compose run --rm web sudo -u jekyll bundle exec octopress publish _drafts/<filename>.md | ||
$ docker-compose run --rm web sudo -u jekyll jekyll build | ||
# Créer le répertoire bundle s'il n'existe pas (évite des problème de permission avec docker) | ||
mkdir bundle | ||
|
||
# Installer les dépendances | ||
bin/app bundle install | ||
|
||
# Lancer le blog | ||
docker-compose up | ||
``` | ||
|
||
## Commandes utiles | ||
|
||
```bash | ||
bin/app bundle exec octopress new draft <draft-name> | ||
bin/app bundle exec octopress publish _drafts/<filename>.md | ||
|
||
# Compile tous les articles | ||
bin/app bundle exec jekyll build | ||
``` | ||
|
||
Credit [So Simple Theme](https://github.com/mmistakes/so-simple-theme/) | ||
|
||
## Références | ||
|
||
- [Versions github-pages](https://pages.github.com/versions/) | ||
- [Setting up github-pages](https://help.github.com/articles/setting-up-your-github-pages-site-locally-with-jekyll/#keeping-your-site-up-to-date-with-the-github-pages-gem) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.