Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
monero-project
CCS Backend
Commits
ce092617
Commit
ce092617
authored
Apr 24, 2019
by
xiphon
Browse files
deposit: 'deposit:list' cmd to print all deposits info to stdout
parent
37f06e80
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/Console/Commands/DepositList.php
0 → 100644
View file @
ce092617
<?php
namespace
App\Console\Commands
;
use
App\Deposit
;
use
Illuminate\Console\Command
;
class
depositList
extends
Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected
$signature
=
'deposit:list'
;
/**
* The console command description.
*
* @var string
*/
protected
$description
=
'Print all deposits in JSON format'
;
/**
* Create a new command instance.
*
* @return void
*/
public
function
__construct
()
{
parent
::
__construct
();
}
/**
* Execute the console command.
*
* @return mixed
*/
public
function
handle
()
{
$this
->
info
(
Deposit
::
all
()
->
toJson
(
JSON_PRETTY_PRINT
));
}
}
readme.md
View file @
ce092617
...
...
@@ -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
```
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment