-
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
-
-
Modify the content in index.md
-
Generate the corresponding
index.htmlfileyarn build -
Deploy app locally
yarn serve public
-
Generate the corresponding
index.htmlfileyarn build -
Configure nginx server and set root directive to the public directory in this repo