Projet 42: Sujet: Conteneuriser un serveur wordpress à l'aide de docker, alpine/debian, nginx et mariadb
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
416 B

#!/bin/sh
if [ ! -f "/var/www/html/index.html" ]; then
npm install -g hexo-cli
hexo init && npm install
git clone https://github.com/PhosphorW/hexo-theme-academia.git themes/Academia
npm install hexo-renderer-pug hexo-renderer-stylus --save
sed -i "/theme: .*/c\theme: Academia" _config.yml
cp /tmp/hexo_config.yml _config.yml
cp /tmp/academia_config.yml themes/Academia/_config.yml
fi
hexo generate