Skip to content

Commit

Permalink
Update upgrading.md, changelog & install scripts for 0.6.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
turtle0x1 committed Feb 1, 2020
1 parent 2543c74 commit 9b8c4f2
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Unreleased
0.6.0 - 01/02/2020

Added
Store enviorment variable with cloud-config rev (#70)
Expand Down
28 changes: 25 additions & 3 deletions UPGRADING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,36 @@ You should only upgrade when a new version is tagged,
Restarting the `pm2` and `apache2` process may interupt running process please
be careful when upgrading!

## 0.5.0 -> 0.6.0 [WIP]
## 0.5.X -> 0.6.0

```
# Required for downloading backups
cd /var/www/LxdMosaic
git fetch
git checkout 0.6.0
mkdir -p /var/www/LxdMosaic/src/sensitiveData/backups
chown -R www-data:www-data /var/www/LxdMosaic/src/sensitiveData/backups
npm i
composer install
mysql < sql/0.6.0.sql
# Required for downloading backups (Ubuntu)
sed -i 's/memory_limit\s*=.*/memory_limit=1024M/g' /etc/php/7.2/apache2/php.ini
# Required for downloading backups (Centos)
sed -i 's/memory_limit\s*=.*/memory_limit=1024M/g' /etc/php.ini
systemctl restart apache2
pm2 restart all
#Ubuntu
systemctl restart apache2
#Centos
systemctl restart httpd
```

## 0.4.0 -> 0.5.0
Expand Down
3 changes: 2 additions & 1 deletion examples/install_with_clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@ git clone https://github.com/turtle0x1/LxdMosaic.git
mkdir -p /var/www/LxdMosaic/src/sensitiveData/certs
mkdir -p /var/www/LxdMosaic/src/sensitiveData/backups
chown -R www-data:www-data /var/www/LxdMosaic/src/sensitiveData/
chown -R www-data:www-data /var/www/LxdMosaic/src/sensitiveData/backups

# Move in LxdManager
cd /var/www/LxdMosaic || exit

git checkout 0.5.0
git checkout 0.6.0

npm install

Expand Down
3 changes: 2 additions & 1 deletion examples/install_with_clone_centos7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,12 @@ git clone https://github.com/turtle0x1/LxdMosaic.git
mkdir -p /var/www/LxdMosaic/src/sensitiveData/certs
mkdir -p /var/www/LxdMosaic/src/sensitiveData/backups
chown -R apache:apache /var/www/LxdMosaic/src/sensitiveData/
chown -R www-data:www-data /var/www/LxdMosaic/src/sensitiveData/backups

# Move in LxdManager
cd /var/www/LxdMosaic || exit

git checkout 0.5.0
git checkout 0.6.0

npm install

Expand Down

0 comments on commit 9b8c4f2

Please sign in to comment.