Personal site with info and connections.
This site has custom builder and auto deploy on GitHub Pages by commits in master branch. You can use this repository as pattern for your own site.
- Python 3.10
- Some python libraries in requirements file.
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
All site sources contains in source
directory.
Edit pattern.html with your information and configure some things in config.json. For using your links and music then configure music.json and profiles.json, music image root folder is source/assets/media/music.
Configuration values:
static
: add directories and files for copy to site.index
: you can set your own pattern file name.replace
: map with key-value replacements for pattern file.- Use
debug
and!debug
for placingtrue
/false
value of--debug
builder argument.
- Use
Just run build script:
python build.py
By default, site will build in _site
directory.
You can run this command with --help
parameter for show all command arguments.
You can run local web server with file change listener in source folder:
python build.py --clean --server
Just push to master
branch and action will build and deploy site from _site
directory to gh-pages
branch.
Feel free to correct typos and errors in the text or code :)