Skip to content

lhz516/hanzluo-legacy

Repository files navigation

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/

Releases

No releases published

Packages

No packages published

Languages