Skip to content

deep-stack/blog-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blog-template

Setup

  • Clone the repository

    git clone [email protected]:deep-stack/blog-template.git
    
    cd blog-template
    
  • Install dependencies

    yarn
    
  • Install pandoc

    • Download the latest release of Pandoc from the official site

      wget https://github.com/jgm/pandoc/releases/download/<version>/pandoc-<version>-linux-<system-arch>.tar.gz
    • Unpack the tarball

      tar -xvzf path/to/downloaded/release/pandoc-<version>-linux-<system-arch>.tar.gz
      
    • Move Pandoc to /usr/local/bin:

      sudo mv pandoc-<version>/bin/pandoc /usr/local/bin/
      
    • Verify installation

      pandoc --version
      
    • For installation on other platforms follow the official docs

Development

  • Modify the content in index.md

  • Generate the corresponding index.html file

    yarn build
    
  • Deploy app locally

    yarn serve public
    

Deployment

  • Generate the corresponding index.html file

    yarn build
    
  • Configure nginx server and set root directive to the public directory in this repo

Releases

No releases published

Packages

No packages published

Languages

  • CSS 56.6%
  • JavaScript 21.3%
  • Shell 11.1%
  • HTML 11.0%