chg: [INSTALL] instruction changes

- no need to yell
remotes/origin/main
iglocska 2020-06-22 14:53:29 +02:00
parent 3dc0f9528f
commit b17788e7a0
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 9 additions and 7 deletions

View File

@ -1,18 +1,20 @@
# Simply clone this repository (for example into /var/www/cerebrate)
## Cerebrate installation instructions
Simply clone this repository (for example into /var/www/cerebrate)
```
cd /var/www
git clone git@github.com:cerebrate-project/cerebrate.git
```
# Run composer
Run composer
```
cd /var/www/cerebrate
composer install
```
# Create a database for cerebrate
Create a database for cerebrate
```
mysql
@ -23,21 +25,21 @@ GRANT ALL PRIVILEGES ON cerebrate.* to cerebrate@localhost;
FLUSH ALL 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
```
# create your local configuration and set the db credentials
create your local configuration and set the db credentials
```
cp -a /var/www/cerebrate/config/app_local.example.php /var/www/cerebrate/config/app_local.php
vim /var/www/cerebrate/config/app_local.php
```
# Simple modify the Datasource -> default array's username, password, database fields
Simply modify the Datasource -> default array's username, password, database fields
# 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