Skip to content

afc163/hanzluo

 
 

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/

About

Source code for hanzluo.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.9%
  • CSS 14.0%
  • Other 1.1%