Skip to content

Latest commit

 

History

History
64 lines (58 loc) · 2.34 KB

setup.md

File metadata and controls

64 lines (58 loc) · 2.34 KB

Setup

  1. Fork Simblog

  2. Go to project settings and Rename your project to a name of your choise.(most people would chose blog)

  3. Next, in settings select option to publish Github pages

  4. Clone your project locally using

git clone [email protected]:<username>/<repo>.git
  1. 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.
  2. Before we beging setting up our editor for blogging make sue you have python and pip installed in your system and run the following command
pip install -r _scripts/requirements.txt
  1. 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 type install packages and themes and install following packages one by one
      busy-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
  2. 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:
  3. That's it, your setup is done

New post

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

Publish

Run _scripts/publish.py and thats it, you will see this message