This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
simplesamlphp/docs/simplesamlphp-install-repo.txt

44 lines
1.0 KiB
Plaintext

Installing SimpleSAMLphp from the repository
============================================
These are some notes about running SimpleSAMLphp from the repository.
Installing from github
----------------------
Go to the directory where you want to install SimpleSAMLphp:
cd /var
Then do a git clone:
git clone git@github.com:simplesamlphp/simplesamlphp.git simplesamlphp
Initialize configuration and metadata:
cd /var/simplesamlphp
cp -r config-templates/* config/
cp -r metadata-templates/* metadata/
Install the external dependencies with Composer (you can refer to [getcomposer.org](http://getcomposer.org/) to get detailed
instructions on how to install Composer itself):
php composer.phar install
Upgrading
---------
Go to the root directory of your simpleSAMLphp installation:
cd /var/simplesamlphp
Ask git to update to the latest version:
git fetch origin
git pull origin master
Install or upgrade the external dependencies with Composer ([get composer](http://getcomposer.org/)):
php composer.phar install