for win: 1. download last hugo static site generator for windows 2. unpuck zip (you will see hugo.exe file)
for mac: 1. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 2. brew install hugo
for linux: 1. sudo snap install hugo
-
after do:
git clone git@github.com:goshva/snakeword.git -
go to folder snakeword and:
../hugo.exe serverfor mac and linux:hugo server -
for build run
../hugo.exe (withouut server)for linux:hugo
in windows working in wsl ( in PowerShell in ADMIN: wsl --install)
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
chmod +x ws.py
./ws.py
if adding modules plz run:
pip3 freeze > requirements.txt
if OSError: [Errno 98] error while attempting to bind on address ('localhost', 8765): address already in use
sudo kill -9 `sudo lsof -t -i:8765`