Update README and leave only one stub article
This commit is contained in:
35
README.md
35
README.md
@@ -1,27 +1,46 @@
|
|||||||
# Overview
|
# Overview
|
||||||
|
|
||||||
This is a work in progress. This example is used to evaluate
|
We consider changing [Opensource Game Studio website](http://opengamestudio.org)'s
|
||||||
[Pelican static site generator](http://getpelican.com) to power
|
engine from Wordpress to [Pelican](http://getpelican.com). This is Pelican
|
||||||
Opensource Game Studio home website.
|
evaluation.
|
||||||
|
|
||||||
# Usage (internally)
|
# Installation
|
||||||
### Generate local copy
|
|
||||||
|
You need a working Python's `pip`.
|
||||||
|
|
||||||
|
Install Pelican with the following command:
|
||||||
|
|
||||||
|
` `
|
||||||
|
|
||||||
|
# Preview
|
||||||
|
|
||||||
|
* Generate local copy with the following commands:
|
||||||
|
|
||||||
`cd pelican`
|
`cd pelican`
|
||||||
|
|
||||||
`pelican -s pelicanconf.py`
|
`pelican -s pelicanconf.py`
|
||||||
|
|
||||||
### Serve local copy
|
* Serve the local copy with the following commands:
|
||||||
|
|
||||||
`cd output`
|
`cd output`
|
||||||
|
|
||||||
`python -m SimpleHTTPServer`
|
`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`
|
`cd pelican`
|
||||||
|
|
||||||
`pelican -s publishconf.py`
|
`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).
|
||||||
|
|
||||||
|
|||||||
8
pelican/content/articles/01-stub-ru.md
Normal file
8
pelican/content/articles/01-stub-ru.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
Title: Заглушка
|
||||||
|
Date: 2017-06-03 00:00
|
||||||
|
Category: Stub
|
||||||
|
Slug: stub
|
||||||
|
Lang: ru
|
||||||
|
|
||||||
|
TODO Импортировать предыдущие статьи Opensource Game Studio с Wordpress.
|
||||||
|
|
||||||
8
pelican/content/articles/01-stub.md
Normal file
8
pelican/content/articles/01-stub.md
Normal file
@@ -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.
|
||||||
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
Title: Моё первое ревью
|
|
||||||
Date: 2017-06-01 10:20
|
|
||||||
Category: Review
|
|
||||||
Slug: keyboard-review
|
|
||||||
Lang: ru
|
|
||||||
|
|
||||||
Вот и моё первое ревью, чуввви.
|
|
||||||
|
|
||||||
@@ -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.
|
|
||||||
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
Title: Обзор Pelican
|
|
||||||
Date: 2017-06-03 22:00
|
|
||||||
Category: Review
|
|
||||||
Slug: pelican-review
|
|
||||||
Lang: ru
|
|
||||||
|
|
||||||
Пока что полёт нормальный. Pelican действительно крут, позволяет
|
|
||||||
быстро всё настроить и запуститься.
|
|
||||||
|
|
||||||
Намного легче, чем Jekyll.
|
|
||||||
|
|
||||||
<3 Python и его экосистему. Что-то просто ЛЕГЧЕ в Python.
|
|
||||||
|
|
||||||
@@ -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.
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user