-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from leepeuker/improve-cli-user-managment
Update user managment commands and remove global movary command prefix
- Loading branch information
Showing
17 changed files
with
212 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -95,10 +95,10 @@ volumes: | |
## Important: First steps | ||
- Run database migrations: `docker exec movary php bin/console.php movary:database:migration --migrate` | ||
- Create a user: `docker exec movary php bin/console.php movary:user:create [email protected] your-password` | ||
- Run database migrations: `docker exec movary php bin/console.php database:migration --migrate` | ||
- Create a user: `docker exec movary php bin/console.php user:create [email protected] your-password` | ||
|
||
List all available cli commands: `docker exec movary php bin/console.php movary` | ||
List all available cli commands: `docker exec movary php bin/console.php` | ||
|
||
##### Available environment variables with defaults: | ||
|
||
|
@@ -143,12 +143,11 @@ Add the generated url as a [webhook to plex](https://support.plex.tv/articles/11 | |
You can sync your watch history and ratings from trakt.tv. | ||
The user used in the sync process must have a trakt username and client id set (can be set via web UI on the settings page or via cli `movary:user:change-trakt-client-id` | ||
and `movary:user:change-trakt-username`). | ||
The user used in the sync process must have a trakt username and client id set (can be set via web UI on the settings page or via cli `user:update`). | ||
Example (syncing history and ratings for user with id 1): | ||
`docker exec movary php bin/console.php movary:sync-trakt --ratings --history --userId=1` | ||
`docker exec movary php bin/console.php trakt:sync --ratings --history --userId=1` | ||
**Flags:** | ||
|
@@ -172,7 +171,7 @@ Make sure you have added the variables `TMDB_API_KEY` to the environment. | |
Example: | ||
`docker exec movary php bin/console.php movary:sync-tmdb` | ||
`docker exec movary php bin/console.php tmdb:sync` | ||
**Flags:** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.