Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ixjlyons/pelican-ghp
The source for my Github Pages website generated with Pelican
https://github.com/ixjlyons/pelican-ghp
Last synced: 27 days ago
JSON representation
The source for my Github Pages website generated with Pelican
- Host: GitHub
- URL: https://github.com/ixjlyons/pelican-ghp
- Owner: ixjlyons
- Created: 2014-08-25T03:22:14.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-01-12T02:06:53.000Z (10 months ago)
- Last Synced: 2024-01-12T14:31:43.756Z (10 months ago)
- Language: HTML
- Size: 41.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
===========
pelican-ghp
===========This is the source for my `personal website`_, generated with Pelican_.
Setup
=====Clone the repository::
$ git clone [email protected]:ixjlyons/pelican-ghp.git
$ cd pelican-ghpNow create a virtual environment and install the dependencies, which right now
just includes Pelican_ (and its dependencies).Exact versions are specified in ``requirements.txt``, so the following should
set up an environment and generate the site correctly::$ python -m venv .venv
$ source .venv/bin/activate
(.venv) $ pip install -r requirements.txtBuild
=====The Makefile generated by pelican-quickstart_ is included here, with some
modifications. It provides a ``devserver`` target which sets up processes for
automatically regenerating the site when files in ``content/`` change and
serving the ``output/`` directory on localhost.I prefer the more manual approach with no "background" processes that I would
probably forget about. Generate the site manually::(.venv) $ make html
Then set up a terminal to serve the site locally::
(.venv) $ make serve
Point the browser of choice to ``locahost:8000`` to see the result (note: the
port can be changed -- see the ``Makefile``). Now, when changing content, issue
another ``make html`` and reload the site in the browser.We'll Do it Live!
=================Once the site is built, I use ``rsync`` to push it to a Linode::
(.venv) $ make rsync
.. _personal website: https://ixjlyons.com
.. _Pelican: http://blog.getpelican.com/
.. _pelican-quickstart: http://docs.getpelican.com/en/3.6.3/quickstart.html#create-a-project