https://github.com/oat-sa/extension-tao-publishing
Publish tests to delivery environment
https://github.com/oat-sa/extension-tao-publishing
Last synced: 6 months ago
JSON representation
Publish tests to delivery environment
- Host: GitHub
- URL: https://github.com/oat-sa/extension-tao-publishing
- Owner: oat-sa
- License: gpl-2.0
- Created: 2016-06-24T09:20:20.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-16T14:55:50.000Z (about 1 year ago)
- Last Synced: 2024-11-10T12:18:08.395Z (7 months ago)
- Language: PHP
- Size: 475 KB
- Stars: 1
- Watchers: 47
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# TAO _taoPublishing_ extension



> Publish deliveries, tests and interactions to other tao platforms during the delivery creation.
## Installation instructions
These instructions assume that you have already a TAO installation on your system. If you don't, go to
[package/tao](https://github.com/oat-sa/package-tao) and follow the installation instructions.Add the extension to your TAO composer and to the autoloader:
```bash
$ composer require oat-sa/extension-tao-publishing ^3 --prefer-source
```Install the extension on the CLI from the project root:
**Linux:**
```bash
sudo php tao/scripts/installExtension.php taoPublishing
```**Windows:**
```bash
php tao\scripts\installExtension.php taoPublishing
```**Docker**
```bash
$ docker container exec -it {YOUR-TAO-INSTANCE-PHP-CONTAINER} php tao/scripts/installExtension.php taoPublishing
```After the install just log out and log in again on the TAO Platform.
As a system administrator you can also install it through the TAO Extension Manager:
- Settings (the gears on the right hand side of the menu) -> Extension manager
- Select _taoPublishing_ on the right hand side, check the box and hit _install_## Set up deliveries on TAO Platform
To be able to synchronize, you need to set up the publication targets that you want to publish. You can do it by:
- Clicking on Settings Icon (top corner right side) -> Publication Targets -> Add Button.
- Label: Fill the label with a good name of your choice.
- Root URL should be the protocol + hostname of the publication target (other TAO platform). Ex: https://demo.taotesting.com/.
- Auth type: In case of Basic Auth, just use a username and password of a real user in the system that you want to publish. Please make sure that user has proper permissions.