Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lhz516/hanzluo-legacy
- Owner: lhz516
- License: mit
- Created: 2019-05-27T03:38:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T21:47:11.000Z (almost 2 years ago)
- Last Synced: 2024-05-02T02:04:27.884Z (8 months ago)
- Language: JavaScript
- Homepage: https://hanzluo.com
- Size: 5.33 MB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 29
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/