- Clone this repo with submodules:
git clone --recursive https://github.com/huseyinkozan/huseyinkozan.com.tr.git
- Install docker and docker-compose from official docs
- Install npm packages:
npm i -g hexo cd <path/of/this/repo> npm i
- Generate static website:
hexo generate
- Create files dir:
mkdir ~/files cd <path/of/this/repo> mkdir -p public/files
- Create .env file:
cd <path/of/this/repo> cp .env.sample .env nano .env
cd <path/of/this/repo>
git pull
cd themes/BlueLake
git pull
cd ..
npm i
hexo generate
- Serve HTTP:
hexo server
- Serve HTTPS:
docker-compose up