Skip to content

Commit

Permalink
added v3.2-rc02 branch #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyril Hazotte committed Nov 7, 2017
1 parent c9bcd98 commit 689270e
Showing 1 changed file with 47 additions and 9 deletions.
56 changes: 47 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -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. |

0 comments on commit 689270e

Please sign in to comment.