Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lhz516/hanzluo-legacy

Source code for
https://github.com/lhz516/hanzluo-legacy

Last synced: about 1 month ago
JSON representation

Source code for

Awesome Lists containing this project

README

        

# Hanz Luo

* This is the source code of [hanzluo.com](https://hanzluo.com)

### Deploy

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

### Update Deploy

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

### Other

Create external MongoDB volume
```
$ docker volume create --name=mongo_volume
```
Docker volume doc: https://docs.docker.com/storage/volumes/