Skip to content
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
content
hyde
.gitignore
Makefile
README.rst
pelicanconf.py
publishconf.py
requirements.in
requirements.txt

README.rst

My blog

Static pelican generated site.

In a virtual environment, run:

pip install pip-tools
pip-sync

Now, in two terminals with activated environment, run:

pipenv run make regenerate
pipenv run make serve

Deployment

I'm using Codeship to deploy. Use the followin setup commands:

pip install pip-tools
pip-sync

And custom deployment script:

make rsync_upload

Here is the nginx configuration file, copy this to /etc/nginx/sites-available/blog.tomgurion.me:

server {
    listen 80;
    server_name blog.tomgurion.me;
    root /home/nagasaki45/sites/blog.tomgurion.me/output;
    index index.html;
    access_log /home/nagasaki45/sites/blog.tomgurion.me/access.log;
}

Don't forget to add a link to sites-enabled and restart nginx.

You can’t perform that action at this time.