Skip to content

Commit

Permalink
formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
lesstif committed Mar 26, 2015
1 parent a1e1aa1 commit a48936d
Showing 1 changed file with 28 additions and 30 deletions.
58 changes: 28 additions & 30 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,50 +3,48 @@

1. Download and Install PHP Composer.

``` sh
curl -sS https://getcomposer.org/installer | php
```
``` sh
curl -sS https://getcomposer.org/installer | php
```

2. Next, run the Composer command to install the latest version of php jira rest client.

``` sh
php composer.phar require lesstif/php-jira-rest-client dev-master
```

or add the following to your composer.json file.

```json
{
"require": {
"lesstif/php-jira-rest-client": "dev-master"
}
}
```

``` sh
php composer.phar require lesstif/php-jira-rest-client dev-master
```
or add the following to your composer.json file.
```json
{
"require": {
"lesstif/php-jira-rest-client": "dev-master"
}
}
```
3. Then run Composer's install or update commands to complete installation.

```sh
php composer.phar install
```

```sh
php composer.phar install
```
4. After installing, you need to require Composer's autoloader:

```php
require 'vendor/autoload.php';
```
```php
require 'vendor/autoload.php';
```

# Configuration

5. create config.jira.json file on your project root.
create config.jira.json file on your project root.

````json
{
"host": "https://jira.example.com",
"username": "username",
"password": "password",
"host": "https://your-jira.host.com",
"username": "jira-username",
"password": "jira-password",
"CURLOPT_SSL_VERIFYHOST": false,
"CURLOPT_SSL_VERIFYPEER": false,
"CURLOPT_VERBOSE": false,
"LOG_FILE": "jira-rest-client.log",
"LOG_LEVEL": "INFO"
"LOG_LEVEL": "WARNING"
}
````

Expand Down

0 comments on commit a48936d

Please sign in to comment.