Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/siongui/wat-pah-photiyan
วัดป่าโพธิญาณ Wat Pah Photiyan (Bodhiñāṇa), a.k.a., วัดเขื่อน
https://github.com/siongui/wat-pah-photiyan
buddhism go golang static-site-generator
Last synced: about 2 months ago
JSON representation
วัดป่าโพธิญาณ Wat Pah Photiyan (Bodhiñāṇa), a.k.a., วัดเขื่อน
- Host: GitHub
- URL: https://github.com/siongui/wat-pah-photiyan
- Owner: siongui
- Created: 2017-01-28T00:50:11.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-16T13:44:18.000Z (over 7 years ago)
- Last Synced: 2024-08-03T23:29:06.267Z (5 months ago)
- Topics: buddhism, go, golang, static-site-generator
- Language: HTML
- Homepage: https://siongui.github.io/wat-pah-photiyan/
- Size: 79.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
- awesome-golang-repositories - wat-pah-photiyan
README
===============
How to Develope
===============.. image:: https://travis-ci.org/siongui/wat-pah-photiyan.png?branch=master
:target: https://travis-ci.org/siongui/wat-pah-photiyan.. See how to add travis ci image from https://raw.githubusercontent.com/demizer/go-rst/master/README.rst
https://github.com/demizer/go-rst/commit/9651ab7b5acc997ea2751845af9f2d6efee825dfDevelopment Tool: Pelican_ (static site generator written in Python)
Development Environment: `Ubuntu 17.04`_
First-time Setup
----------------1. Install git_ and pip_:
.. code-block:: bash
$ sudo apt-get install git
$ sudo apt-get install python-pip2. Install language packages to add locale (English, Traditional Chinese, and
Thai in this example):.. code-block:: bash
$ sudo apt-get install language-pack-en
$ sudo apt-get install language-pack-zh-hant
$ sudo apt-get install language-pack-th3. git clone source code:
.. code-block:: bash
$ cd
$ mkdir dev
$ cd ~/dev/
$ git clone https://github.com/siongui/wat-pah-photiyan.git YOUR_REPO4. Install Python tools:
.. code-block:: bash
$ cd ~/dev/YOUR_REPO/
$ sudo pip install -r requirements.txt5. Install Pelican `i18n_subsites`_ plugin and download `normalize.css`_:
.. code-block:: bash
$ cd ~/dev/YOUR_REPO/
$ make download6. Generate CSS file:
.. code-block:: bash
$ cd ~/dev/YOUR_REPO/
$ make scssAuto-deploy by `Travis CI`_
---------------------------See [1]_.
Daily Development
-----------------.. code-block:: bash
# start edit and develope
$ cd ~/dev/YOUR_REPO/
# If something changes, re-generate the website:
$ make html
# start dev server
$ make serve
# open your browser and preview the website at http://localhost:8000/References
----------.. [1] `Deploy Website by Pelican, Travis CI, and GitHub Pages `_
.. [2] JINJA_FILTERS in `Settings — Pelican documentation `_
`Jinja custom filters documentation `_
.. _Pelican: http://blog.getpelican.com/
.. _Ubuntu 17.04: http://releases.ubuntu.com/17.04/
.. _UNLICENSE: http://unlicense.org/
.. _git: https://git-scm.com/
.. _pip: https://pypi.python.org/pypi/pip
.. _i18n_subsites: https://github.com/getpelican/pelican-plugins/tree/master/i18n_subsites
.. _normalize.css: https://necolas.github.io/normalize.css/
.. _Travis CI: https://travis-ci.org/
.. _Getting started - Travis CI: https://docs.travis-ci.com/user/getting-started/
.. _global: https://docs.travis-ci.com/user/environment-variables/#Global-Variables
.. _secure: https://docs.travis-ci.com/user/environment-variables/#Encrypted-Variables
.. _environment variable: https://docs.travis-ci.com/user/environment-variables/
.. _personal access token: https://help.github.com/articles/creating-an-access-token-for-command-line-use/
.. _Travis CI command line client: https://github.com/travis-ci/travis.rb