commit
88ba2df9a6
|
@ -1,9 +1,10 @@
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
An Ubuntu server (18.04/20.04 should both work fine) - though other Linux installations should work too.
|
An Ubuntu server (18.04/20.04 should both work fine) - though other linux installations should work too.
|
||||||
- sqlite, apache2, mysql/mariadb need to be installed and running
|
- apache2, mysql/mariadb, sqlite need to be installed and running
|
||||||
- php extensions for intl, mysql, sqlite3, mbstring, xml need to be installed and running
|
- php extensions for intl, mysql, sqlite3, mbstring, xml need to be installed and running
|
||||||
- composer
|
- composer
|
||||||
|
sudo apt install apache2 mariadb-server git composer php-intl php-mbstring php-dom php-ldap php-sqlite3 sqlite libapache2-mod-php php-mysql
|
||||||
|
|
||||||
|
|
||||||
## Cerebrate installation instructions
|
## Cerebrate installation instructions
|
||||||
|
@ -70,6 +71,19 @@ mod_rewrite needs to be enabled:
|
||||||
sudo a2enmod rewrite
|
sudo a2enmod rewrite
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Simply modify the Datasource -> default array's username, password, database fields
|
||||||
|
This would be, when following the steps above:
|
||||||
|
|
||||||
|
```
|
||||||
|
'Datasources' => [
|
||||||
|
'default' => [
|
||||||
|
'host' => 'localhost',
|
||||||
|
'username' => 'cerebrate',
|
||||||
|
'password' => 'YOUR_PASSWORD',
|
||||||
|
'database' => 'cerebrate',
|
||||||
|
```
|
||||||
|
Create an apache config file for cerebrate / ssh key and point the document root to /var/www/cerebrate/webroot/index.php and you're good to go
|
||||||
|
|
||||||
For development installs the following can be done:
|
For development installs the following can be done:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue