Setup Nikola
Setup Procedure
-
Install Nikola:
pip install --upgrade "Nikola[extras]"
-
Initialize the user site:
nikola init --demo ~/src/tschutter.github.io
Create a tschutter.github.io repository on GitHub.
-
Connect the local repository to the GitHub repository:
cd ~/src/tschutter.github.io git init git remote add origin git@github.com:tschutter/tschutter.github.io.git
-
Create a .gitignore file:
cache .doit.db* __pycache__ output .ipynb_checkpoints .DS_Store
-
Commit initial files:
git checkout -b src git add . git commit -m "initial checkin" git push -u origin master
Edit
conf.py
.-
Deploy to tschutter.github.io:
nikola github_deploy