working on setup

pull/1/head
ppaulis 2016-10-06 11:38:12 +02:00
parent 8cbfe06dd9
commit 9e87ebe922
2 changed files with 16 additions and 4 deletions

View File

@ -53,14 +53,14 @@
</target> </target>
<target name="setup-application" description="Setup Application config"> <target name="setup-application" description="Setup Application config">
<loadfile property="app.config" file="${project.basedir}/app/config/application.config.php-dist-BO"> <loadfile property="app.config" file="${project.basedir}/config/application.config.php-dist-BO">
<!-- PLACE YOUR FILE MODIFICATIONS HERE --> <!-- PLACE YOUR FILE MODIFICATIONS HERE -->
</loadfile> </loadfile>
<echo message="${app.config}" file="${project.basedir}/app/config/application.config.php"/> <echo message="${app.config}" file="${project.basedir}/config/application.config.php"/>
</target> </target>
<target name="setup-sec-auth" description="Setup Security and Authentication"> <target name="setup-sec-auth" description="Setup Security and Authentication">
<loadfile property="sec.config" file="${project.basedir}/app/config/autoload/security-authentication.local.php.dist"> <loadfile property="sec.config" file="${project.basedir}/config/autoload/security-authentication.local.php.dist">
<filterchain> <filterchain>
<replacetokens> <replacetokens>
<token key="monarc.ttl" value="${monarc.ttl}"/> <token key="monarc.ttl" value="${monarc.ttl}"/>
@ -68,7 +68,7 @@
</replacetokens> </replacetokens>
</filterchain> </filterchain>
</loadfile> </loadfile>
<echo message="${sec.config}" file="${project.basedir}/app/config/autoload/security-authentication.local.php"/> <echo message="${sec.config}" file="${project.basedir}/config/autoload/security-authentication.local.php"/>
</target> </target>
<target name="drop-db"> <target name="drop-db">

12
scripts/post-install.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
npm install
cd node_modules/ng_backoffice
npm install
cd ../..
# Compile stuff needed for the minified frontend
./scripts/compile_translations.sh
./scripts/link_modules_resources.sh