diff --git a/app/Console/Commands/DepositList.php b/app/Console/Commands/DepositList.php new file mode 100644 index 0000000000000000000000000000000000000000..f306b976d04cdec88b0a6f230dbfaa3647ef2c57 --- /dev/null +++ b/app/Console/Commands/DepositList.php @@ -0,0 +1,44 @@ +info(Deposit::all()->toJson(JSON_PRETTY_PRINT)); + } + +} diff --git a/readme.md b/readme.md index c3466916477f20bcdae94664d2318767a27c38e0..88c9ba12e352c31e16783d653576b71422524c84 100644 --- a/readme.md +++ b/readme.md @@ -123,12 +123,16 @@ Instead of scheduling a cron job you can run the following commands in no partic php /var/www/html/ccs-back/artisan monero:notify php /var/www/html/ccs-back/artisan proposal:update ``` -3. Process incoming donations +2. Process incoming donations *Run it either on new block/tx notification or schedule it to run every minute or so* ``` php /var/www/html/ccs-back/artisan monero:notify ``` -2. Generate static HTML files +3. Generate static HTML files ``` jekyll build --source /var/www/html/ccs-front --destination /var/www/html/ccs-front/_site ``` +4. Get the full list of processed transactions in JSON format + ``` + php /var/www/html/ccs-back/artisan deposit:list + ```