Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EduGAIN Attribute Release Check
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
edugain
EARC
EduGAIN Attribute Release Check
Commits
aabf48b5
Commit
aabf48b5
authored
2 years ago
by
Valentin Pocotilenco
Browse files
Options
Downloads
Patches
Plain Diff
update config and description
parent
3f969f19
No related branches found
No related tags found
1 merge request
!3
Setup doc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+35
-15
35 additions, 15 deletions
README.md
config/database.php
+0
-2
0 additions, 2 deletions
config/database.php
with
35 additions
and
17 deletions
README.md
+
35
−
15
View file @
aabf48b5
# 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
This diff is collapsed.
Click to expand it.
config/database.php
+
0
−
2
View file @
aabf48b5
...
...
@@ -56,8 +56,6 @@ return [
'charset'
=>
'utf8'
,
'collation'
=>
'utf8_unicode_ci'
,
'prefix'
=>
''
,
'strict'
=>
false
,
'engine'
=>
null
,
'modes'
=>
[
'ONLY_FULL_GROUP_BY'
,
'STRICT_TRANS_TABLES'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment