Skip to content

Instantly share code, notes, and snippets.

@rajacsp
Created March 29, 2021 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rajacsp/54f071524dbdd33d4f5877be5ae81473 to your computer and use it in GitHub Desktop.
Save rajacsp/54f071524dbdd33d4f5877be5ae81473 to your computer and use it in GitHub Desktop.
Tact Notes Setup
How to setup TactNotes?
Mirror the TactNotes repo:
git clone --bare git@github.com:tactlabs/tactnotes.git
cd tactnotes.git
git push --mirror git@github.com:abc/mynotes.git
cd ..
rm -rf tactnotes.git
Clone your git repo now:
git clone git@github.com:abc/mynotes.git
Install Hugo:
sudo snap install hugo
Verify hugo:
hugo
Conda setup:
conda create -y python=3.8 --name pyhugo
conda activate pyhugo
Run hugo and verify in local:
runipy make.ipynb
hugo server -D
http://localhost:1313/hugobase/
Deploy:
runipy make.ipynb
hugo
git add .
git commit -m "commit message"
git push
How to publish on Github?
On Github, go settings and find Github page
Under source, select mater (or main ) and select folder /docs and save
You can see something like this
Your site is ready to be published at https://abc.github.io/mynotes/.
Wait for 2-5 mins to reflect on live.
TADA!!
Verify live:
https://abc.github.io/mynotes/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment