How to run examples???
rahulnaik2894 opened this issue · comments
Rahul Sarjerao Naik commented
Download the source code.But anyone tell me how to run this on localhost .
xiaonange commented
try and try
Gamaliel Toro commented
A little bit late but:
- git clone repo
- composer install
- and execute the 4 lines that you see on the example.
BTW just a recomendation instead of
php -S localhost:9000 -t examples/server/
export SSO_SERVER=http://localhost:9000 SSO_BROKER_ID=Alice SSO_BROKER_SECRET=8iwzik1bwd; php -S localhost:9001 -t examples/broker/
export SSO_SERVER=http://localhost:9000 SSO_BROKER_ID=Greg SSO_BROKER_SECRET=7pypoox2pc; php -S localhost:9002 -t examples/broker/
export SSO_SERVER=http://localhost:9000 SSO_BROKER_ID=Julias SSO_BROKER_SECRET=ceda63kmhp; php -S localhost:9003 -t examples/ajax-broker/
better use:
$ php -S localhost:9000 -t examples/server/
$ env SSO_SERVER=http://localhost:9000 SSO_BROKER_ID=Alice SSO_BROKER_SECRET=8iwzik1bwd;php -S localhost:9001 -t examples/broker/
$ env SSO_SERVER=http://localhost:9000 SSO_BROKER_ID=Greg SSO_BROKER_SECRET=7pypoox2pc php -S localhost:9002 -t examples/broker/
$ env SSO_SERVER=http://localhost:9000 SSO_BROKER_ID=Julias SSO_BROKER_SECRET=ceda63kmhp php -S localhost:9003 -t examples/ajax-broker/
For running it i was using foreman but you can open 4 bash or use &
or nohup .....
Rahul Sarjerao Naik commented
thanks for reply
…On Wed, Jun 13, 2018 at 3:34 AM Gamaliel A. Toro Herrera < ***@***.***> wrote:
A little bit late but:
- git clone repo
- composer install
- and execute the 4 lines that you see on the example.
BTW just a recomendation instead of
php -S localhost:9000 -t examples/server/export SSO_SERVER=http://localhost:9000 SSO_BROKER_ID=Alice SSO_BROKER_SECRET=8iwzik1bwd; php -S localhost:9001 -t examples/broker/export SSO_SERVER=http://localhost:9000 SSO_BROKER_ID=Greg SSO_BROKER_SECRET=7pypoox2pc; php -S localhost:9002 -t examples/broker/export SSO_SERVER=http://localhost:9000 SSO_BROKER_ID=Julias SSO_BROKER_SECRET=ceda63kmhp; php -S localhost:9003 -t examples/ajax-broker/
better use:
$ php -S localhost:9000 -t examples/server/
$ env SSO_SERVER=http://localhost:9000 SSO_BROKER_ID=Alice SSO_BROKER_SECRET=8iwzik1bwd;php -S localhost:9001 -t examples/broker/
$ env SSO_SERVER=http://localhost:9000 SSO_BROKER_ID=Greg SSO_BROKER_SECRET=7pypoox2pc php -S localhost:9002 -t examples/broker/
$ env SSO_SERVER=http://localhost:9000 SSO_BROKER_ID=Julias SSO_BROKER_SECRET=ceda63kmhp php -S localhost:9003 -t examples/ajax-broker/
For running it i was using foreman but you can open 4 bash or use & or
nohup .....
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#89 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AWBihxx5QJBvoWBvGnm6mk_QBeuqijndks5t8Dr-gaJpZM4Q0ltP>
.
--
Rahul Sarjerao Naik
rahulnaik2894@gmail.com
9960229858