brunomaso1 / python-pelican-blog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BLOG

python pelican type stability migration

This blog is migrating to medium

This blog contents post about serveral topics in IT, focusing on artificial intelligence, quantum computer and robotics.

Screenshots

screenshot

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Pelican

Pelican theme:

Pelican plugins:

Deployment

To deploy this blog localy, you should follow next steps (after install all the prerequisites):

Built With

  • pip - Build system

Process

  1. Create new enviroment on Anaconda: 1.1 Open Anaconda Navigator and select "Environments". 1.2 Create a new enviroment. 1.3 After created select the "play" button and select "Open Terminal".

  2. Clone this repo wherever you want:

git clone https://github.com/brunomaso1/blog.git
  1. Add a new post (can be jupyter notebook or md), on "post" folder inside "Content".

  2. Build the blog with pelican:

pelican content
  1. Test the blog: 5.1 Initiate pelican server on the output folder:

    python -m pelican.server
    

    5.2 Open the blog on the browser on "localhost:8000"

  2. Modify publishconf.py to set your URL to the post.

  3. Build the blog with the new configuration:

pelican content -s publishconf.py
  1. Publish the blog via ghp-import
ghp-import output
git push origin gh-pages
  1. Test and commit changes!

About

License:GNU General Public License v3.0


Languages

Language:Jupyter Notebook 96.0%Language:Python 1.9%Language:HTML 1.2%Language:Makefile 0.3%Language:CSS 0.2%Language:Shell 0.2%Language:JavaScript 0.1%