Skip to content
pghpython website
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
content Add pages Jun 12, 2019
.gitignore Add .DS_Store to .gitignore Jun 12, 2019
LICENSE Initial commit Jun 4, 2019
Makefile Stand up a Pelican skeleton site Jun 5, 2019
README.md Update README.md Jun 6, 2019
pelicanconf.py Update pelicanconf.py Jun 13, 2019
publishconf.py Stand up a Pelican skeleton site Jun 5, 2019
requirements.txt Stand up a Pelican skeleton site Jun 5, 2019
tasks.py Stand up a Pelican skeleton site Jun 5, 2019

README.md

pghpython website

Stack

This site is built using Pelican, a static site generation framework.

Developing

  1. Clone this repository and change to the newly created directory:

    $ git clone git@github.com:pghpython/website.git  # or over HTTPS if you prefer
    $ cd website/
  2. Create and activate a virtual environment for working on this project. You can use whichever tool you like (I use pyenv/pyenv-virtualenv myself, but the built-in venv works fine):

    $ python3 -m venv .venv/
    $ source .venv/bin/activate
  3. Install the dependencies:

    (.venv) $ pip install -r requirements.txt
  4. Build and serve a local copy of the content:

    (.venv) $ pelican content
    Done: Processed 0 articles, 0 drafts, 1 page, 0 hidden pages and 0 draft pages in 0.14 seconds.
    (.venv) $ pelican --listen

    The site should now be available on your local host.

    You can also use make if you prefer (you can just type make to see all the available options):

    (.venv) $ make html
    (.venv) $ make serve

    Deploy

    Deploying master on Netlify, you can find it here: https://pypgh.netlify.com/

You can’t perform that action at this time.