Skip to content
Snippets Groups Projects
Commit aabf48b5 authored by Valentin Pocotilenco's avatar Valentin Pocotilenco
Browse files

update config and description

parent 3f969f19
Branches
Tags
1 merge request!3Setup doc
# EduGAIN Attribute Release Check # EduGAIN Attribute Release Check
##Application description ## Application description
##Application deployment ## Application deployment
###Application requirements for web interface deployment ### Application requirements for web interface deployment
1. Web server Apache / nginx 1. Web server Apache / nginx
2. PHP 7.4+ 2. PHP 7.4+
3. Database manager mysql / mariadb 3. Database manager mysql / mariadb
4. Composer 4. Composer
###Applications setup example ### Applications setup example
1. nginx setup example 1. nginx setup example
- example of nginx configuration for application - example of nginx configuration for application
...@@ -76,17 +76,37 @@ GRANT ALL ON earc.* TO 'earc_user'@'localhost'; ...@@ -76,17 +76,37 @@ GRANT ALL ON earc.* TO 'earc_user'@'localhost';
GRANT FILE ON earc.* TO 'earc_user'@'localhost'; GRANT FILE ON earc.* TO 'earc_user'@'localhost';
``` ```
###Application setup ### Application setup
1. composer install (i have used local composer.phar) 0. clone application to /var/www/earc
2. copy .env from .env.example 1. install vendor
3. generate key : php artisan key:generate - from application root run
4. clear cache : php artisan config:cache ```
------ composer install
5. simplesaml config : !!!to do automatically ```
6. simplesaml sp-remote-metadata : !!!to do automatically 2. create and populate application's .env file
- from application root run
```
cp .env.example .env
php artisan key:generate
```
- clear cached configuration
```
php artisan config:cache
```
3. populate basic configuration for simpleSAMLphp
- from application root run
```
cp vendor/simplesamlphp/simplesamlphp/config-templates/config.php vendor/simplesamlphp/simplesamlphp/config/config.php
```
4. simplesaml sp-remote-metadata : !!!to do automatically
currently found here : technical-test>edugain.org /var/www/earc-deployed/releases/1541529858 currently found here : technical-test>edugain.org /var/www/earc-deployed/releases/1541529858
------ ------
7. database config edit 7. configure and populate database
8. database populate : php artisan migrate - update database configuration file : config/database.php
9. voila - populate database using prepared migration, from application root run
\ No newline at end of file ```
php artisan migrate
```
9. check application
\ No newline at end of file
...@@ -56,8 +56,6 @@ return [ ...@@ -56,8 +56,6 @@ return [
'charset' => 'utf8', 'charset' => 'utf8',
'collation' => 'utf8_unicode_ci', 'collation' => 'utf8_unicode_ci',
'prefix' => '', 'prefix' => '',
'strict' => false,
'engine' => null,
'modes' => [ 'modes' => [
'ONLY_FULL_GROUP_BY', 'ONLY_FULL_GROUP_BY',
'STRICT_TRANS_TABLES', 'STRICT_TRANS_TABLES',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment