oscargicast / python.pe

Python Peru

Home Page:http://python.pe/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python Peru's Website

To build, first you need to install graphviz:

  1. macOS with Homebrew
brew install graphviz
  1. macOS with MacPorts
sudo port install graphviz
  1. apt-based Linux distribution
sudo apt install graphviz

Then make sure you have installed node and npm

  1. macOS with Homebrew
brew install node
  1. macOS with MacPorts
sudo port install nodejs21 npm10
  1. apt-based Linux distribution
sudo apt install nodejs npm

Install sketchviz

sudo ./bin/install-sketchviz.sh

Make sure you have Python 3.12 installed. Then install poetry:

pip install -U poetry

Then install all the necessary packages (make sure to change to the root directory of the project):

poetry install

You can build the html files of the blog by running the following command:

poetry run ablog build

Then you can serve the files locally using this command:

poetry run ablog serve

About

Python Peru

http://python.pe/

License:Apache License 2.0


Languages

Language:Python 89.6%Language:CSS 8.9%Language:HTML 1.1%Language:Shell 0.4%