Merge pull request #54 from wagner-certat/doc-upgrade

doc: add upgrade documentation
feature/docker-ci
Andras Iklody 2021-06-28 16:45:58 +02:00 committed by GitHub
commit ab5578d7de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 1 deletions

18
INSTALL/UPGRADE.md Normal file
View File

@ -0,0 +1,18 @@
# Upgrade Cerebrate
To upgrade a local cerebrate installation, simply pull the new code from the remote `main` branch:
```bash
sudo -u www-data git -C /var/www/cerebrate/ pull origin main
```
If you need to use a proxy, you can pass them to the command like this:
```bash
https_proxy=http://proxy.local:8080 sudo -Eu www-data git -C /var/www/cerebrate/ pull origin main
```
To upgrade the database, login to the webinterface as administrator and call
http://cerebrate.local:8000/instance/migrationIndex
Also available from the menu in the interface as "Database migration".
Run all available upgrades.

View File

@ -32,7 +32,7 @@ Managing public keys and assigning them to users both for communication and vali
The platform is built on CakePHP 4 along with Bootstrap 4 and shares parts of the code-base with [MISP](https://www.github.com/MISP).
The installation is documented at the following location [INSTALL/INSTALL.md](INSTALL/INSTALL.md)
The installation is documented at the following location [INSTALL/INSTALL.md](INSTALL/INSTALL.md). For upgrades, look at [INSTALL/UPGRADE.md](INSTALL/UPGRADE.md)
Hardware requirements: