From e567d9254143100d95e72b2fc3fbfa52aa79eafd Mon Sep 17 00:00:00 2001 From: Michael Kapelko Date: Sun, 10 Sep 2017 13:12:16 +0700 Subject: [PATCH] Update README and leave only one stub article --- README.md | 35 ++++++++++++++----- pelican/content/articles/01-stub-ru.md | 8 +++++ pelican/content/articles/01-stub.md | 8 +++++ .../content/articles/keyboard-review-ru.md | 8 ----- pelican/content/articles/keyboard-review.md | 8 ----- pelican/content/articles/pelican-review-ru.md | 13 ------- pelican/content/articles/pelican-review.md | 13 ------- 7 files changed, 43 insertions(+), 50 deletions(-) create mode 100644 pelican/content/articles/01-stub-ru.md create mode 100644 pelican/content/articles/01-stub.md delete mode 100644 pelican/content/articles/keyboard-review-ru.md delete mode 100644 pelican/content/articles/keyboard-review.md delete mode 100644 pelican/content/articles/pelican-review-ru.md delete mode 100644 pelican/content/articles/pelican-review.md diff --git a/README.md b/README.md index 0b26923..641cd05 100644 --- a/README.md +++ b/README.md @@ -1,27 +1,46 @@ # Overview -This is a work in progress. This example is used to evaluate -[Pelican static site generator](http://getpelican.com) to power -Opensource Game Studio home website. +We consider changing [Opensource Game Studio website](http://opengamestudio.org)'s +engine from Wordpress to [Pelican](http://getpelican.com). This is Pelican +evaluation. -# Usage (internally) -### Generate local copy +# Installation + +You need a working Python's `pip`. + +Install Pelican with the following command: + +` ` + +# Preview + +* Generate local copy with the following commands: `cd pelican` `pelican -s pelicanconf.py` -### Serve local copy +* Serve the local copy with the following commands: `cd output` `python -m SimpleHTTPServer` -The site is served at [http://localhost:8000](http://localhost:8000). +The preview should now be available at +[http://localhost:8000](http://localhost:8000). -### Generate public copy +# Publishing + +* Generate public site with the following commands: `cd pelican` `pelican -s publishconf.py` +* Upload it to GitHub with the following commands: + +`git push` + +The publich site should now be available at +[http://ogstudio.github.io](http://ogstudio.github.io). + diff --git a/pelican/content/articles/01-stub-ru.md b/pelican/content/articles/01-stub-ru.md new file mode 100644 index 0000000..0d411db --- /dev/null +++ b/pelican/content/articles/01-stub-ru.md @@ -0,0 +1,8 @@ +Title: Заглушка +Date: 2017-06-03 00:00 +Category: Stub +Slug: stub +Lang: ru + +TODO Импортировать предыдущие статьи Opensource Game Studio с Wordpress. + diff --git a/pelican/content/articles/01-stub.md b/pelican/content/articles/01-stub.md new file mode 100644 index 0000000..ac2109d --- /dev/null +++ b/pelican/content/articles/01-stub.md @@ -0,0 +1,8 @@ +Title: Stub +Date: 2017-06-03 00:00 +Category: Stub +Slug: stub +Lang: en + +TODO Import previous Opensource Game Studio articles from Wordpress. + diff --git a/pelican/content/articles/keyboard-review-ru.md b/pelican/content/articles/keyboard-review-ru.md deleted file mode 100644 index 36b0e1b..0000000 --- a/pelican/content/articles/keyboard-review-ru.md +++ /dev/null @@ -1,8 +0,0 @@ -Title: Моё первое ревью -Date: 2017-06-01 10:20 -Category: Review -Slug: keyboard-review -Lang: ru - -Вот и моё первое ревью, чуввви. - diff --git a/pelican/content/articles/keyboard-review.md b/pelican/content/articles/keyboard-review.md deleted file mode 100644 index e5ffbc3..0000000 --- a/pelican/content/articles/keyboard-review.md +++ /dev/null @@ -1,8 +0,0 @@ -Title: My first review -Date: 2017-06-01 10:20 -Category: Review -Slug: keyboard-review -Lang: en - -Here is a full review, guys. - diff --git a/pelican/content/articles/pelican-review-ru.md b/pelican/content/articles/pelican-review-ru.md deleted file mode 100644 index 4b60bb1..0000000 --- a/pelican/content/articles/pelican-review-ru.md +++ /dev/null @@ -1,13 +0,0 @@ -Title: Обзор Pelican -Date: 2017-06-03 22:00 -Category: Review -Slug: pelican-review -Lang: ru - -Пока что полёт нормальный. Pelican действительно крут, позволяет -быстро всё настроить и запуститься. - -Намного легче, чем Jekyll. - -<3 Python и его экосистему. Что-то просто ЛЕГЧЕ в Python. - diff --git a/pelican/content/articles/pelican-review.md b/pelican/content/articles/pelican-review.md deleted file mode 100644 index 4c0ba7f..0000000 --- a/pelican/content/articles/pelican-review.md +++ /dev/null @@ -1,13 +0,0 @@ -Title: Pelican review -Date: 2017-06-03 22:00 -Category: Review -Slug: pelican-review -Lang: en - -So far so nice. Pelican is really cool, and provides a quick starting guided -to get up and running real fast. - -Much more smooth than Jekyll. - -I <3 Python and its ecosystem. Something is just EASIER in Python. -