Movie Data Collector
Build status | Code Grade | Testing |
---|---|---|
This is a java commandline application which will collect the data from themoviedb.org and fill it to the provided database.
This will always create a schema by the name disovermovie
Usage
usage: Movie-Data-Collector
-d <Host URL> URL of Mysql server host if it is not
localhost
-h,--help Show help
-u <Username and password> Username followed by password
-v,--version Output the version and exit
####Example
$ movie-data-collector -v
Movie Data Collector Version 1.0
Copyright (C) 2017 Sidhin S Thomas
This is a free software; See source for copying conditions.
There is no warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ movie-data-collector -u root root
Initializing.....
Connecting to database...
Successfully connected to database.
Creating schema if doesn't exist...
Connection Database Schema established
Database system working .... OK
Successfully executed.
Exiting...
$ movie-data-collector --help
usage: Movie-Data-Collector
-d <Host URL> URL of Mysql server host if it is not
localhost
-h,--help Show help
-u <Username and password> Username followed by password
-v,--version Output the version and exit
Database Schema
Contributing
Handling source code
-
The project has gradle support to handle dependencies.
Run the following command: (if windows thengradlew.bat
)$ gradlew build
-
Now create run configurations depending on your IDE.
Make sure your running directory has the
src/main/resources
folder in it.