diff --git a/.env.testing b/.env.testing index 887ffc6968..1a6022cbcf 100644 --- a/.env.testing +++ b/.env.testing @@ -11,3 +11,7 @@ DB_PASSWORD=secret CACHE_DRIVER=file SESSION_DRIVER=file +EMAIL_SMTP= +EMAIL_USERNAME= +EMAIL_PASSWORD= +ANALYTICS_ID=ABC \ No newline at end of file diff --git a/README.md b/README.md index 294aa07bd1..d2dceb97fd 100644 --- a/README.md +++ b/README.md @@ -26,9 +26,14 @@ To install and use Firefly III, please read [the installation guide](https://git ## Current features -- [A double-entry bookkeeping system](http://en.wikipedia.org/wiki/Double-entry_bookkeeping_system); +- [A double-entry bookkeeping system](https://en.wikipedia.org/wiki/Double-entry_bookkeeping_system); - You can store, edit and remove withdrawals, deposits and transfers. This allows you full financial management; -- It's possible to create, change and manage money using _budgets_; +- You can manage different types of accounts + - Asset accounts + - Shared asset accounts (household accounts) + - Saving accounts + - Credit cards +- It's possible to create, change and manage money using _[budgets](https://en.wikipedia.org/wiki/Envelope_system)_; - Organize transactions using categories; - Save towards a goal using piggy banks; - Predict and anticipate bills; @@ -49,9 +54,7 @@ Firefly III will feature, but does not feature yet: - More control over other resources outside of personal finance - - Accounts shared with a partner (household accounts) - Debts - - Credit cards - More test-coverage; - Firefly will be able to split transactions; a single purchase can be split in multiple entries, for more fine-grained control. - Firefly will be able to join transactions. diff --git a/pu.sh b/pu.sh index ad08d5c969..fac111b016 100755 --- a/pu.sh +++ b/pu.sh @@ -1,10 +1,13 @@ #!/bin/bash -# create DB if not exists +# backup .env file. +cp .env .env.backup -if [ ! -f tests/database/db.sqlite ]; then - touch tests/database/db.sqlite - php artisan migrate --seed -fi +# set testing environment +cp .env.testing .env +# test! phpunit --verbose + +# restore .env file +mv .env.backup .env