phundrak.com/README.org

2.1 KiB
Raw Permalink Blame History

phundrak.com

Introduction

This is the repository for my website phundrak.com which contains the code available on the main branch. Code available on the develop branch is available at beta.phundrak.com.

Structure of the project

This website is made with VuePress, a Vue-powered static site generator. You can find its Node.JS configuration in the package.json file as well as its content and general configuration in the directory content.

Installing and running

In order to run the website, you firts need to export all the orgmode files to Markdown files. I recommend using ox-gfm to do so. If you dont mind package.el installing it as well as f.el, you can run the following command:

emacs -Q --script export.el

To install the NPM dependencies for the project, run one of the following commands:

yarn
# or
npm install # delete the yarn.lock file before

To run the project, run one of the following commands using the same package manager as above:

yarn dev
# or
npm run dev

You can compile the website to a static website by running

yarn build
# or
npm run build

The compiled version of the website can then be found in content/.vuepress/dist.