file 'README.upgrade' is obsolete.
This commit is contained in:
@ -1,49 +0,0 @@
|
||||
|
||||
# ====================
|
||||
# - Upgrading CryptPad
|
||||
# ====================
|
||||
|
||||
# - Note!
|
||||
# -
|
||||
# - Always read the release notes before upgrading, as there may be changes
|
||||
# - that require special consideration.
|
||||
|
||||
# - Stop cryptpad
|
||||
# -
|
||||
systemctl stop cryptpad
|
||||
|
||||
|
||||
# - Backup existing installation
|
||||
# -
|
||||
cp -a /var/www/cryptpad /var/www/cryptpad.BAK.$(date +%Y-%m-%d-%H%M)
|
||||
|
||||
# - Change into installation directory
|
||||
# -
|
||||
cd /var/www/cryptpad
|
||||
|
||||
# - Update Git repository
|
||||
# -
|
||||
su www-data -s /bin/bash -c "git pull"
|
||||
|
||||
# - Update 'npm'
|
||||
# -
|
||||
su www-data -s /bin/bash -c "npm update"
|
||||
|
||||
# - Update 'bower'
|
||||
# -
|
||||
su www-data -s /bin/bash -c "bower update"
|
||||
|
||||
# - Maybe more updates
|
||||
# -
|
||||
╭─────────────────────────────────────╮
|
||||
│ │
|
||||
│ Update available 1.8.4 → 1.8.8 │
|
||||
│ Run npm i -g bower to update │
|
||||
│ │
|
||||
╰─────────────────────────────────────╯
|
||||
|
||||
|
||||
# - Start cryptpad
|
||||
# -
|
||||
systemctl start cryptpad
|
||||
|
Reference in New Issue
Block a user