forked from SurfaceS/tmdbapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add instructions for testing and deployment to readme
- Loading branch information
Showing
1 changed file
with
17 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
To deploy, run `mvn deploy -P release` | ||
## Running tests | ||
You need the following environment variables in order to run all tests: | ||
``` | ||
TMDB_API_KEY | ||
TMDB_API_READ_TOKEN | ||
TMDB_API_ACCESS_TOKEN | ||
TMDB_USERNAME | ||
TMDB_PASSWORD | ||
TMDB_ACCOUNT | ||
``` | ||
|
||
Most are easy to get via TMDB but `TMDB_API_ACCESS_TOKEN` is tricky. See https://github.com/UniversalMediaServer/UniversalMediaServer/pull/4037#issuecomment-2081531952 for instructions. | ||
|
||
## Deployment | ||
Run `mvn deploy -P release`. | ||
|
||
On macOS you might need to symlink `gpg2` to `gpg` as described at https://stackoverflow.com/a/69920288/2049714 |