From 17199dbb1c4df963a76501f3c0eb6a70077c7a4e Mon Sep 17 00:00:00 2001 From: Cyril Hazotte Date: Tue, 7 Nov 2017 16:26:40 +0100 Subject: [PATCH] added v3.2-rc01 branch #2 --- README.md | 56 ++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 47 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5d3276cc13..e2f13e2880 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,51 @@ -# deploy-test-package -Build a dedicated package and run the update +package-tao +=========== -How to create a new deployment to test a feature +Clone repository - - create a new branch from master that will start with test/myBranch + git clone https://github.com/oat-sa/package-tao.git + +Install via composer missing library and extensions - `git checkout -b test/my-branch master` + composer install + +Add rw to www-data - - edit build.properties, replace testDeploy with myBranch. Please notes that package.folder should not containts any special character because will be use as part as the DB name - - when pushed a build will start on https://jenkins.taocloud.org/ use your github account to login - - when the build is completed, it will trigger a build on http://deploy.taocloud.org/queue - - (dev in progress) option tao.fresh.install by default is set to false but if set to true, it will trigger an resintall of the package instead of an update + sudo chown -R www-data package-tao + +Install TAO + +```bash +sudo -u www-data php tao/scripts/taoInstall.php \ +--db_driver pdo_mysql \ +--db_host localhost \ +--db_name taoUnitTest \ +--db_user myuser \ +--db_pass tao \ +--module_namespace http://sample/first.rdf \ +--module_url http://myurl \ +--user_login admin \ +--user_pass admin \ +-e taoCe +``` + +| Optional/Reuired | Parameter | Description | +| ---------------- | ------------------- | ----------- | +| | --db_driver | Target available sgbd : pdo_pgsql, pdo_mysql, pdo_sqlsrv, pdo_oci. | +| | --db_host | Database location. | +| | --db_name | The Database name corresponds to the Module name. | +| Optional | --db_pass | Password to access to the database. | +| Required | --db_user | Login to access to the database. | +| | --file_path\|-f | Path to where files should be stored. | +| | --timezone\|-t | Timezone of the install. | +| | --install_sent | | +| | --module_lang\|-l | The default language will be used when the language parameters are not specified for the graphical interface and the data. | +| | --module_mode | The deployment mode allow and deny access to resources regarding the needs of the platform.The test & development mode will enables the debugs tools, the unit tests, and the access to all the resources. The production mode is focused on the security and allow only the required resources to run TAO. | +| | --module_namespace | The module's namespace will be used to identify the data stored by your module. Each data collected by tao is identified uniquely by an URI composed by the module namespace followed by the resource identifier (NAMESPACE#resource). | +| Required | --module_url\|-url | The URL to access the module from a web browser. | +| Required | --user_login\|-u | The login of the administrator to be created. | +| Required | --user_pass\|-p | The password of the administrator. | +| | --import_local\|-i | States if the local.rdf files must be imported or not. | +| | --instance_name\|-n | The name of the instance to install. | +| | --extensions\|-e | Comma-separated list of extensions to install. | +| | --verbose\|-v | Verbose mode. |