Skip to content
This repository was archived by the owner on Aug 28, 2022. It is now read-only.

Commit de96a37

Browse files
committed
update the readme file
1 parent 5efaeed commit de96a37

File tree

4 files changed

+20
-1
lines changed

4 files changed

+20
-1
lines changed

.github/workflows/continuous-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: composer install --prefer-dist --no-progress --no-suggest
3939

4040
- name: Build project
41-
run: php -d phar.readonly=false ./vendor/bin/box compile
41+
run: composer run build
4242

4343
- name: Create release
4444
id: create_release

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
[v0.1.5]
4+
* we now prefix the file name with the time.
5+
* we release a phar version of the application.
6+
37
[V0.0.6]
48
* added the ability to backup your data to Amazon S3.
59
* added an example config file that you can use to update your config file.

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,18 @@ composer global require damascene/database-backup
5555

5656
_PS: if you run it globally you can just use `backup` instead of `./bin/backup`._
5757

58+
### Using the phar file
59+
60+
We distribute a PHP Archive (PHAR) that has all required dependencies of database backup bundled in a single file.
61+
You can file the file under the assets of each [release](https://github.com/linuxjuggler/database-backup/releases).
62+
63+
After downloading the file remember to run the following commands:
64+
65+
```bash
66+
$ mv backup ./bin/backup
67+
$ chmod u+x backup
68+
```
69+
5870
## Usage
5971

6072
- You should create the configuration file using the command:

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
"Backup\\" : "src/Backup"
3838
}
3939
},
40+
"scripts": {
41+
"build": "php -d phar.readonly=false ./vendor/bin/box compile",
42+
},
4043
"bin" : ["bin/backup"],
4144
"minimum-stability": "stable"
4245
}

0 commit comments

Comments
 (0)