Skip to content

pivaldi/blog.piprime.fr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The PIPRIME.FR Blog Source Code

Usage

With Docker

If you have https://www.docker.com/ installed on your host machine, it's the simpler method to run this blog.

  1. Build the Docker image and install dependencies with the command make install.
  2. Launch :
    • make dev : serves with the drafts or
    • make production : serves without the drafts or
    • make deploy : generates the static web site in ./hexo/public and serve on port $SERVER_PORT using a Caddy Server docker image.

Without Docker

  1. Install direnv yourself.
  2. Install Node.js yourself
  3. Install Hexo yourself executing for example npm install -g hexo-cli.
  4. Goto the directory hexo with cd hexo and install the dependencies with make install.
  5. You can run in the directory hexo :
    • make dev : serves with the drafts or
    • make production : serves without the drafts or
    • make deploy : generates the static web site in ./hexo/public

License

The scripts & files' configuration are MIT licensed.
The Markdown files & website content are NOT and the copyright belongs to Philippe IVALDI.
This means normal copyright law applies to that I.e. don't republish my website without my permission.

If you appreciate this project, ☕ Buy Me a Coffee