lhz516 / hanzluo

Source code for

Home Page:https://hanzluo.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hanz Luo

Deploy

  1. CD into app directory if not already in it
$  cd ~/web/hanzluo`
  1. Pull the latest version. git pull is not inside ./deploy.sh because ./deploy.sh itself may be changed
$ git pull
  1. Run deploy scripts
$ ./deploy.sh

Update Deploy

  1. CD into app directory if not already in it
$  cd ~/web/hanzluo`
  1. Pull the latest version. git pull is not inside ./deploy-update.sh because ./deploy-update.sh itself may be changed
$ git pull
  1. Run update deploy scripts. If settings.js is modified, manual update inside container is needed
$ ./deploy-update.sh

Other

Create external MongoDB volume

$ docker volume create --name=mongo_volume

Docker volume doc: https://docs.docker.com/storage/volumes/

About

Source code for

https://hanzluo.com

License:MIT License


Languages

Language:JavaScript 85.1%Language:CSS 13.9%Language:Shell 0.8%Language:Dockerfile 0.3%