Updated list of authors, copyright holders, composer and npm configuration files.

pull/1/head
Cédric Bonhomme 2018-01-25 21:52:24 +01:00
parent c52757e5bb
commit 2a7aa61cd4
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
10 changed files with 56 additions and 178 deletions

26
AUTHORS
View File

@ -1,10 +1,28 @@
# Developers
Cédric Bonhomme
Jérôme Lombardi
Juan Rocha
# Contributors
Alexandre Dulaunoy
Benjamin Ganivet
Cédric Bonhomme
Cyril Rouyer
Fabien Mathey
Guillaume Lesniak
Jerome De Almeida
Jérôme De Almeida
Jérôme Lombardi
Juan Rocha
Pascal Paulis
Thomas Metois
# Copyright holders
- Copyright (C) 2016-2018 Jérôme Lombardi - https://github.com/jerolomb
- Copyright (C) 2016-2018 Juan Rocha - https://github.com/jfrocha
- Copyright (C) 2016-2018 SMILE gie securitymadein.lu
- Copyright (C) 2017-2018 Cédric Bonhomme - https://github.com/cedricbonhomme
- Copyright (C) 2016-2017 Guillaume Lesniak
- Copyright (C) 2016-2017 Thomas Metois
- Copyright (C) 2016-2017 Jérôme De Almeida

View File

@ -1,18 +1,19 @@
Skeleton Monarc Project
=======================
*Disclaimer: This is a work in progress and software is still in alpha stage.*
Introduction
------------
Skeleton Monarc Project.
Installation
------------
PHP & MySQL
-----------
Install PHP (version 7.0 recommended) with Apache (or Nginx) with extensions : xml, mbstring, mysql, zip, unzip, mcrypt, intl, imagick (extension php)
Install PHP (version 7.0 recommended) with Apache (or Nginx) with extensions:
xml, mbstring, mysql, zip, unzip, mcrypt, intl, imagick (extension php)
For Apache add mods : rewrite, ssl (a2enmod)
Install MySQL (version 5.7 recommended) or MariaDb equivalent
@ -20,7 +21,8 @@ Install MySQL (version 5.7 recommended) or MariaDb equivalent
Using Composer (recommended)
----------------------------
If not already done, install composer relevant to your distribution. Then, clone the repository and manually invoke `composer`:
If not already done, install composer relevant to your distribution. Then,
clone the repository and manually invoke `composer`:
cd my/project/dir
git clone ssh://github.com/monarc-project/MonarcAppBO.git ./monarc
@ -202,9 +204,25 @@ Data Model
monarc_common
![monarc_common](public/img/model-common.png "monarc_common")
License
-------
This software is licensed under [GNU Affero General Public License version 3](http://www.gnu.org/licenses/agpl-3.0.html)
This software is licensed under
[GNU Affero General Public License version 3](http://www.gnu.org/licenses/agpl-3.0.html)
Copyright (C) 2016-2017 SMILE gie securitymadein.lu
- Copyright (C) 2016-2018 Jérôme Lombardi - https://github.com/jerolomb
- Copyright (C) 2016-2018 Juan Rocha - https://github.com/jfrocha
- Copyright (C) 2016-2018 SMILE gie securitymadein.lu
- Copyright (C) 2017-2018 Cédric Bonhomme - https://github.com/cedricbonhomme
- Copyright (C) 2016-2017 Guillaume Lesniak
- Copyright (C) 2016-2017 Thomas Metois
- Copyright (C) 2016-2017 Jérôme De Almeida
For more information, [the list of authors and contributors](AUTHORS) is available.
Disclaimer: This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Affero General Public License for more details.

View File

@ -1,7 +0,0 @@
default:
autoload:
'': %paths.base%/module/MonarcCore/features/bootstrap
suites:
features:
paths: [ %paths.base%/module/MonarcCore/features ]
contexts: [ AmvContext ]

View File

@ -1,13 +0,0 @@
version=0.1.0
author.name=Pascal Paulis
author.email=pascal.paulis@continuousphp.com
db.host=localhost
db.username=dbuser
db.password=123
db.name.core=monarc_core
db.name.backoffice=monarc_backoffice
dir.bin=./bin
phinx.bin=${dir.bin}/phinx

118
build.xml
View File

@ -1,118 +0,0 @@
<project name="MonarcAppBO" default="help" basedir=".">
<property file="./build.properties" />
<target name="help" description="List available targets">
<exec executable="vendor/bin/phing"
passthru="true">
<arg value="-l"/>
</exec>
</target>
<target name="setup-npm" description="Setup NPM config">
<move file="${project.basedir}/package.json" tofile="${project.basedir}/package.json.bak" overwrite="true"/>
<loadfile property="npm.config" file="${project.basedir}/package.json.continuousphp">
<filterchain>
<replacetokens>
<token key="github.token" value="${env.GITHUB_TOKEN}"/>
</replacetokens>
</filterchain>
</loadfile>
<echo message="${npm.config}" file="${project.basedir}/package.json"/>
</target>
<target name="post-install" description="Post install">
<exec command="scripts/post-install.sh"
passthru="true"
checkreturn="true"/>
</target>
<target name="remove-npm-config" description="Remove NPM config">
<delete file="${project.basedir}/package.json" quiet="true"/>
<move file="${project.basedir}/package.json.bak" tofile="${project.basedir}/package.json" overwrite="true"/>
</target>
<target name="setup-db" description="Setup Database Credentials">
<echo msg="Loading file ${project.basedir}/config/autoload/database.local.php.dist" />
<loadfile property="db.config" file="${project.basedir}/config/autoload/database.local.php.dist">
<filterchain>
<replacetokens>
<token key="db.host" value="${db.host}"/>
<token key="db.username" value="${db.username}"/>
<token key="db.password" value="${db.password}"/>
<token key="db.name.backoffice" value="${db.name.backoffice}"/>
<token key="db.name.core" value="${db.name.core}"/>
</replacetokens>
</filterchain>
</loadfile>
<echo msg="Writing file ${project.basedir}/config/autoload/database.local.php" />
<echo message="${db.config}" file="${project.basedir}/config/autoload/database.local.php"/>
</target>
<target name="setup-languages" description="Setup Languages">
<echo msg="Loading file ${project.basedir}/config/autoload/languages.local.php.dist" />
<loadfile property="languages.config" file="${project.basedir}/config/autoload/languages.local.php.dist">
<!-- PLACE YOUR FILE MODIFICATIONS HERE -->
</loadfile>
<echo msg="Writing file ${project.basedir}/config/autoload/languages.local.php" />
<echo message="${languages.config}" file="${project.basedir}/config/autoload/languages.local.php"/>
</target>
<target name="setup-application" description="Setup Application config">
<loadfile property="app.config" file="/config/application.config.php">
<!-- PLACE YOUR FILE MODIFICATIONS HERE -->
</loadfile>
<echo message="${app.config}" file="${project.basedir}/config/application.config.php"/>
</target>
<target name="setup-sec-auth" description="Setup Security and Authentication">
<echo msg="Loading file ${project.basedir}/config/autoload/security-authentication.local.php.dist" />
<loadfile property="sec.config" file="${project.basedir}/config/autoload/security-authentication.local.php.dist">
<filterchain>
<replacetokens>
<token key="monarc.ttl" value="${monarc.ttl}"/>
<token key="monarc.salt" value="${monarc.salt}"/>
</replacetokens>
</filterchain>
</loadfile>
<echo msg="Writing file ${project.basedir}/config/autoload/security-authentication.local.php" />
<echo message="${sec.config}" file="${project.basedir}/config/autoload/security-authentication.local.php"/>
</target>
<target name="drop-db">
<echo file="${project.basedir}/drop.sql">DROP DATABASE IF EXISTS `${db.name}`;</echo>
<pdosqlexec url="mysql:host=${db.host}" userid="${db.username}" password="${db.password}">
<transaction src="${project.basedir}/drop.sql"/>
</pdosqlexec>
<delete file="${project.basedir}/drop.sql" quiet="true"/>
</target>
<target name="init-db" description="Create Database and Grants">
<echo file="${project.basedir}/create.sql">
CREATE DATABASE IF NOT EXISTS ${db.name};
GRANT USAGE ON *.* TO '${db.username}'@'%' IDENTIFIED BY '${db.password}';
GRANT UPDATE,CREATE,REFERENCES,ALTER,LOCK TABLES,CREATE VIEW,CREATE
ROUTINE,TRIGGER,INSERT,DELETE,DROP,INDEX,CREATE TEMPORARY TABLES,EXECUTE,SHOW VIEW,ALTER ROUTINE,SELECT ON
`${db.name}`.* TO '${db.username}'@'%';
</echo>
<pdosqlexec url="mysql:host=${db.host}" userid="${db.username}" password="${db.password}">
<transaction src="${project.basedir}/create.sql"/>
</pdosqlexec>
<delete file="${project.basedir}/create.sql" quiet="true"/>
</target>
<target name="db-migration" description="Update the database version">
<exec command="${project.basedir}/scripts/client-upgrade-db.sh backoffice ${db.host} ${db.username} ${db.password} ${db.name.backoffice}" passthru="true"/>
<exec command="${project.basedir}/scripts/client-upgrade-db.sh core ${db.host} ${db.username} ${db.password} ${db.name.core}" passthru="true"/>
</target>
<target name="reset-db"
description="Drop database and reset data"
depends="drop-db, init-db, db-migration"/>
<target name="init"
description="Setup external dependencies and migrate data"
depends="setup-languages, setup-sec-auth, setup-db, db-migration"/>
</project>

View File

@ -6,7 +6,10 @@
{"name": "Guillaume Lesniak", "email": "guillaume@netlor.fr"},
{"name": "Jerôme De Almeida", "email": "jerome.dealmeida@vesperiagroup.com"},
{"name": "Benjamin Ganivet", "email": "benjamin@netlor.fr"},
{"name": "Thomas Metois", "email": "thomas@netlor.fr"}
{"name": "Thomas Metois", "email": "thomas@netlor.fr"},
{"name": "Jérôme Lombardi", "email": "jerome.lombardi@cases.lu"},
{"name": "Juan Rocha", "email": "juan.rocha@cases.lu"},
{"name": "Cédric Bonhomme", "email": "cedric.bonhomme@cases.lu"}
],
"require": {
"php": ">=5.5",

View File

@ -1,6 +0,0 @@
# continuous.yml
deployment:
hooks:
AfterActivate:
- command: scripts/migrate.sh
- command: scripts/restart-server.sh

View File

@ -7,8 +7,8 @@
"type": "git",
"url": "https://github.com/monarc-project/MonarcAppBO"
},
"author": "Netlor",
"license": "Copyright",
"author": "CASES",
"license": "GNU Affero General Public License version 3",
"dependencies": {
"ng_anr": "https://github.com/monarc-project/ng-anr#master",
"ng_backoffice": "https://github.com/monarc-project/ng-backoffice#master"

View File

@ -1,20 +0,0 @@
{
"name": "MONARC",
"version": "1.0.0",
"description": "MONARC Skeleton App",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/monarc-project/skeleton.git"
},
"author": "Netlor",
"license": "Copyright",
"dependencies": {
"ng_anr": "git+https://@github.token@:x-oauth-basic@github.com/monarc-project/ng-anr#beta",
"ng_backoffice": "git+https://@github.token@:x-oauth-basic@github.com/monarc-project/ng-backoffice#beta"
},
"devDependencies": {
"grunt": "~0.4.1",
"grunt-cli": "~0.1.13"
}
}

View File

@ -11,7 +11,10 @@
{"name": "Guillaume Lesniak", "email": "guillaume@netlor.fr"},
{"name": "Jerôme De Almeida", "email": "jerome.dealmeida@vesperiagroup.com"},
{"name": "Benjamin Ganivet", "email": "benjamin@netlor.fr"},
{"name": "Thomas Metois", "email": "thomas@netlor.fr"}
{"name": "Thomas Metois", "email": "thomas@netlor.fr"},
{"name": "Jérôme Lombardi", "email": "jerome.lombardi@cases.lu"},
{"name": "Juan Rocha", "email": "juan.rocha@cases.lu"},
{"name": "Cédric Bonhomme", "email": "cedric.bonhomme@cases.lu"}
],
"require": {
"php": ">=5.5"