Created
March 29, 2021 09:18
-
-
Save rajacsp/54f071524dbdd33d4f5877be5ae81473 to your computer and use it in GitHub Desktop.
Tact Notes Setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to setup TactNotes? | |
Mirror the TactNotes repo: | |
git clone --bare [email protected]:tactlabs/tactnotes.git | |
cd tactnotes.git | |
git push --mirror [email protected]:abc/mynotes.git | |
cd .. | |
rm -rf tactnotes.git | |
Clone your git repo now: | |
git clone [email protected]: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