some details added
parent
e56be70446
commit
341b1cec7f
|
@ -3,6 +3,8 @@
|
||||||
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.
|
||||||
- apache2, mysql/mariadb, sqlite need to be installed and running
|
- apache2, mysql/mariadb, sqlite need to be installed and running
|
||||||
- php extensions for intl, mysql, sqlite need to be installed and running
|
- php extensions for intl, mysql, sqlite need to be installed and running
|
||||||
|
|
||||||
|
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
|
||||||
|
@ -11,14 +13,14 @@ Simply clone this repository (for example into /var/www/cerebrate)
|
||||||
|
|
||||||
```
|
```
|
||||||
cd /var/www
|
cd /var/www
|
||||||
git clone git@github.com:cerebrate-project/cerebrate.git
|
sudo git clone git@github.com:cerebrate-project/cerebrate.git
|
||||||
```
|
```
|
||||||
|
|
||||||
Run composer
|
Run composer
|
||||||
|
|
||||||
```
|
```
|
||||||
cd /var/www/cerebrate
|
cd /var/www/cerebrate
|
||||||
composer install
|
sudo composer install
|
||||||
```
|
```
|
||||||
|
|
||||||
Create a database for cerebrate
|
Create a database for cerebrate
|
||||||
|
@ -35,7 +37,7 @@ FLUSH PRIVILEGES;
|
||||||
Load the default table structure into the database
|
Load the default table structure into the database
|
||||||
|
|
||||||
```
|
```
|
||||||
mysql -u cerebrate -p cerebrate < /var/www/cerebrate/INSTALL/mysql.sql
|
mysql -u cerebrate -pYOUR_PASSWORD cerebrate < /var/www/cerebrate/INSTALL/mysql.sql
|
||||||
```
|
```
|
||||||
|
|
||||||
create your local configuration and set the db credentials
|
create your local configuration and set the db credentials
|
||||||
|
@ -46,7 +48,16 @@ vim /var/www/cerebrate/config/app_local.php
|
||||||
```
|
```
|
||||||
|
|
||||||
Simply modify the Datasource -> default array's username, password, database fields
|
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
|
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
|
||||||
|
|
||||||
To log in use the default credentials below:
|
To log in use the default credentials below:
|
||||||
|
|
Loading…
Reference in New Issue