Commit 4964b5a5 authored by Xavier Guimard's avatar Xavier Guimard

Update examples (#595)

parent 7c4cb5d0
......@@ -51,13 +51,13 @@ DATADIR=$(LMPREFIX)/data
DOCUMENTROOT=$(LMPREFIX)/htdocs
PORTALDIR=$(DOCUMENTROOT)/portal
PORTALSITEDIR=$(PORTALDIR)
PORTALSTATICDIR=$(PORTALSITEDIR)/static
PORTALSTATICDIR=$(PORTALSITEDIR)/htdocs/static
PORTALRELATIVESTATICDIR=/static
PORTALTEMPLATESDIR=$(PORTALSITEDIR)/templates
MANAGERDIR=$(DOCUMENTROOT)/manager
MANAGERSITEDIR=$(MANAGERDIR)
MANAGERSTATICDIR=$(MANAGERSITEDIR)/static
MANAGERSTATICDIR=$(MANAGERSITEDIR)/htdocs/static
MANAGERRELATIVESTATICDIR=/static
MANAGERTEMPLATESDIR=$(MANAGERSITEDIR)/templates
DOCDIR=$(DOCUMENTROOT)
......@@ -665,13 +665,13 @@ install_portal_site: install_conf_dir
>$(RPORTALTEMPLATESDIR)/$$f; \
done; cd -
cd $(SRCPORTALDIR)/site/templates; for l in `find * -type l`; do \
echo lien à faire $$l `readlink $$l`; \
echo link to do $$l `readlink $$l`; \
target=`readlink $$l`; \
cd $(RPORTALTEMPLATESDIR); \
ln -s $$target $$l; \
cd -; \
done
@if test "$(USEEXTERNALLIBS)" = "yes"; then \
if test "$(USEEXTERNALLIBS)" = "yes"; then \
rm -rvf $(PORTALEXTERNALLIBS); \
elif test "$(USEDEBIANLIBS)" = "yes"; then \
rm -rvf $(PORTALLIBSTOREMOVEFORDEBIAN); \
......
debian/tmp/usr/share/lemonldap-ng/manager/manager.*
lemonldap-ng-manager/eg/*
.bowerrc
bower.json
Changes
eg/manager-server.cgi
eg/manager-server.fcgi
eg/manager-server.psgi
eg/manager.cgi
eg/manager.fcgi
eg/manager.psgi
KINEMATIC.md
lib/Lemonldap/NG/Manager.pm
lib/Lemonldap/NG/Manager/Attributes.pm
......
.bowerrc
bower.json
Changes
eg/index.cgi
eg/index.fcgi
eg/index.psgi
example/soapconfigtest.pl
example/soaperrortest.pl
example/soaptest.pl
......
#!/usr/bin/env perl
use Plack::Handler::CGI;
use Lemonldap::NG::Portal::Main;
Plack::Handler::CGI->new->run( Lemonldap::NG::Portal->run( {} ) );
../site/htdocs/index.fcgi
\ No newline at end of file
#!/usr/bin/env perl
use Plack::Handler::FCGI;
use Lemonldap::NG::Portal::Main;
# Roll your own
my $server = Plack::Handler::FCGI->new();
$server->run( Lemonldap::NG::Portal::Main->run( {} ) );
use Lemonldap::NG::Portal::Main;
Lemonldap::NG::Portal::Main->run({});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment