Skip to content

Commit bef9198

Browse files
author
Roshan
committed
chore : update readme to reflect changes
1 parent ad8eb5f commit bef9198

File tree

5 files changed

+20
-12
lines changed

5 files changed

+20
-12
lines changed

README.md

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Manage your `Laravel Schedule` from a pretty dashboard. Schedule your `Laravel C
1515

1616
## Documentation
1717

18-
#### Installation
18+
#### Installing
1919

2020
`Totem` requires Laravel v5.4 and above. Use composer to install totem to your Laravel project
2121

@@ -45,6 +45,14 @@ php artisan migrate
4545
php artisan totem:assets
4646
```
4747

48+
#### Updating
49+
50+
Please republish totem assets after updating totem to a new version
51+
52+
```
53+
php artisan totem:assets
54+
```
55+
4856
#### Configuration
4957

5058
##### Cron Job
@@ -78,29 +86,29 @@ All artisan commands can be scheduled. If you want to hide a command from Totem
7886
protected $hidden = true;
7987
```
8088

81-
##### Use one of the following options if you are registering your commands in app/Console/Kernel in L5.4 and below
82-
83-
- Option 1 : Create a array variable, let's say `$artisanCommands` in your app/Providers/AppServiceProvider and list all your commands just like you would do in app/Console/Kernel class. Now in the register method add the following
89+
From L5.5 onwards all commands are auto registered, so this wouldn't be a problem.
8490

85-
```
86-
$this->commands($this->artisanCommands);
87-
```
91+
#### Console Command
8892

89-
- Option 2: Roll your own ConsoleServiceProvider in app/Providers, create a array variable, let's say `$artisanCommands` and list all your commands just like you would do in app/Console/Kernel class. Now in its register method add the following. Don't forget to add this new provider to config/app.php's providers array.
93+
In addition to the dashboard, Totem provides an artisan command to view a list of scheduled task.
9094

91-
```
92-
$this->commands($this->artisanCommands);
95+
```
96+
php artisan schedule:list
9397
```
9498

95-
From L5.5 onwards all commands are auto registered, so this wouldn't be a problem.
96-
9799
### Screenshots
98100

99101
##### Task List
100102
<img src="https://github.com/codestudeo/laravel-totem/blob/master/public/img/screenshots/tasks.png?raw=true" alt="Task List"/>
101103

102104
##### Task Details
103105
<img src="https://github.com/codestudeo/laravel-totem/blob/master/public/img/screenshots/task-details.png?raw=true" alt="Task List"/>
106+
107+
##### Edit Task
108+
<img src="https://github.com/codestudeo/laravel-totem/blob/master/public/img/screenshots/edit-task.png?raw=true" alt="Task List"/>
109+
110+
##### Artisan Command to view scheduled tasks
111+
<img src="https://github.com/codestudeo/laravel-totem/blob/master/public/img/screenshots/artisan.png?raw=true" alt="Task List"/>
104112

105113
## Changelog
106114

public/img/screenshots/artisan.png

82.5 KB
Loading
488 KB
Loading
76.1 KB
Loading

public/img/screenshots/tasks.png

35.7 KB
Loading

0 commit comments

Comments
 (0)