Add short up.sh deploy+restart helper
This commit is contained in:
@@ -58,6 +58,13 @@ Notes:
|
||||
- For `https://bestmidi.com/chgrid/`, use `/chgrid/`.
|
||||
- For site root deploy (`https://bestmidi.com/`), use `/`.
|
||||
|
||||
Shortcut (client deploy + service restart):
|
||||
|
||||
```bash
|
||||
cd /home/bestmidi/chgrid
|
||||
./deploy/scripts/up.sh /home/bestmidi/chgrid /home/bestmidi/public_html/chgrid /chgrid/
|
||||
```
|
||||
|
||||
## 5) Install/restart signaling service (systemd)
|
||||
|
||||
```bash
|
||||
@@ -150,6 +157,13 @@ sudo systemctl restart chat-grid.service
|
||||
journalctl -u chat-grid.service -n 50 --no-pager
|
||||
```
|
||||
|
||||
Typical quick update:
|
||||
|
||||
```bash
|
||||
cd /home/bestmidi/chgrid
|
||||
./deploy/scripts/up.sh /home/bestmidi/chgrid /home/bestmidi/public_html/chgrid /chgrid/
|
||||
```
|
||||
|
||||
Notes:
|
||||
- Run Apache install/reload steps again only if proxy config changed.
|
||||
- If your checkout has local changes, stash or commit before `git pull`.
|
||||
|
||||
Reference in New Issue
Block a user