huseyinkozan / huseyinkozan.com.tr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

huseyinkozan.com.tr

Clone

  • Clone this repo with submodules:
    git clone --recursive https://github.com/huseyinkozan/huseyinkozan.com.tr.git
    

Install

  • 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
    

Update

cd <path/of/this/repo>
git pull
cd themes/BlueLake
git pull
cd ..
npm i
hexo generate

Run

  • Serve HTTP:
    hexo server
    
  • Serve HTTPS:
    docker-compose up
    

About