ローカルでGitHub Pagesのローカル環境を起動するのに Docker が必要になります。
MacOSX や Windows をご利用の場合は、以下のようなソフトウェアをインストールして docker
コマンドが利用できるようにしてください。
公式ドキュメントのPost を書くを参照してください。
以下のコマンドを実行後 http://localhost:4000 にアクセスするとWebページが表示されます
$ docker run -t --rm -v "$PWD":/usr/src/app -p "4000:4000" starefossen/github-pages
Configuration file: /usr/src/app/_config.yml
Deprecation: The 'gems' configuration option has been renamed to 'plugins'. Please update your config file accordingly.
Source: /usr/src/app
Destination: /_site
Incremental build: disabled. Enable with --incremental
Generating...
Liquid Warning: Liquid syntax error (line 21): Expected id but found number in "{{ site.404-img }}" in /_layouts/error.html
done in 2.465 seconds.
Auto-regeneration: enabled for '/usr/src/app'
Server address: http://0.0.0.0:4000
Server running... press ctrl-c to stop.
ローカルのファイルが変更されると、自動的にビルドが実行されるので、ページをリロードするだけで大丈夫です。
Regenerating: 1 file(s) changed at 2018-09-05 10:43:11 Liquid Warning: Liquid syntax error (line 21): Expected id but found number in "{{ site.404-img }}" in /_layouts/error.html
...done in 2.151323191 seconds.
終了するときは、Ctrl+C
でコンソールを止めたあとで、以下のコマンドを実行してください。
$ docker stop $(docker ps -q --filter ancestor="starefossen/github-pages" )
問題がある場合はissuesに上げてください、 その後実装担当者はforkもしくは別ブランチを切って修正後、プルリクエストを当リポジトリのmasterへ送ってください。
自分で問題を対応できる場合は、即fork後修正し、プルリクエストから開始しても問題有りません。
{ Personal } is a free responsive Jekyll theme, about you :wink:
You can watch it in action here!
Fork of Timeline (mashup of Grayscale by Start Bootstrap and Agency Jekyll Theme)
Customization and full control of your website and blog through the site config
Customization of the website's coloring
Blogging functionality
Author blurb under the posts
404 page
iOS and Android Web App mode
Enforcing of https protocol
Protection from email harvesting
Sitemap
Travis CI integration with html-proofer
Want to get { Personal } without messing with jekyll installations and terminal commands?
The theme contains documentation in the form of blog posts.
First, you need to install jekyll and the dependencies of { Personal } by running:
./scripts/install
Then, you can build and serve your website by simply running:
./scripts/serve-production
Don't forget to list your { Personal } blog in the Blogs using { Personal } wiki page in order to drive some traffic to your website :wink:
Have you published your own website by forking { Personal } and now you want to get the latest bug fixes and features from this repo into your website? Then check this out.
One of the reasons { Personal } is real is the following OSS projects:
Proposals, pull requests and issues are more than welcome, let's make the web a bit more beautiful and secure :wink:
In case you want to say thank you by donating Bitcoins to all the contributors, this is our address.