-
Fork Simblog
-
Go to project settings and
Rename
your project to a name of your choise.(most people would choseblog
) -
Clone your project locally using
git clone [email protected]:<username>/<repo>.git
- At this point you can use your favorite editor to start your blog. I will suggest using Atom or VS Code for best blogging experience.
- Before we beging setting up our editor for blogging make sue you have
python
andpip
installed in your system and run the following command
pip install -r _scripts/requirements.txt
- Since I prefer atom text editor for this blogging purpose, I would explain how to set it up.
- if you know what is apm and have installed it you can run the following command
apm install --packages-file atom-package-list.txt
- if not, press
CTRL+SHIFT+P
in atom and typeinstall packages and themes
and install following packages one by onebusy-signal date intentions language-markdown linter linter-markdown linter-ui-default markdown-image-paste markdown-pdf markdown-preview-enhanced markdown-toc markdown-writer platformio-ide-terminal script tidy-markdown tool-bar tool-bar-markdown-writer
- Restart Atom
- At this point if you open a markdown file it should look like this
- We will use python to help us, and to auto run
python
in atom we will use script plugin. you can see the shortcut like this: - That's it, your setup is done
Open
new_post.py
and press CTRL+SHIFT+B
(or run this script with the shortcut we saw)
You will see this UI
Now you can see a file generated in
_posts
folder
And now your can write your post
Run _scripts/publish.py
and thats it, you will see this message