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

update config and description

parent 3f969f19
No related branches found
No related tags found
1 merge request!3Setup doc
# 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
2. PHP 7.4+
3. Database manager mysql / mariadb
4. Composer
###Applications setup example
### Applications setup example
1. nginx setup example
- example of nginx configuration for application
......@@ -76,17 +76,37 @@ GRANT ALL 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)
2. copy .env from .env.example
3. generate key : php artisan key:generate
4. clear cache : php artisan config:cache
------
5. simplesaml config : !!!to do automatically
6. simplesaml sp-remote-metadata : !!!to do automatically
0. clone application to /var/www/earc
1. install vendor
- from application root run
```
composer install
```
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
------
7. database config edit
8. database populate : php artisan migrate
9. voila
\ No newline at end of file
7. configure and populate database
- update database configuration file : config/database.php
- populate database using prepared migration, from application root run
```
php artisan migrate
```
9. check application
\ No newline at end of file
......@@ -56,8 +56,6 @@ return [
'charset' => 'utf8',
'collation' => 'utf8_unicode_ci',
'prefix' => '',
'strict' => false,
'engine' => null,
'modes' => [
'ONLY_FULL_GROUP_BY',
'STRICT_TRANS_TABLES',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment