To begin with, you should populated the properties as shown bellow:
sender=sender@gmail.com
answers.amount=5
right.answers=1,2,3,4,5
own.addres=yourAdress@gmail.com
password=yourPassword
received.mail.subject=title
spreadsheet.url=https://docs.google.com/spreadsheets/d/***/edit#gid=0
And txt file with name "caption.txt" with the title of sent messages
Then create a txt file with name "explanations.txt" in the root with similar content:
1) Пояснения по первому вопросу.
-
Пояснения по второму вопросу.
-
Пояснения по третьему вопросу.
-
Пояснения по четвёртому вопросу.
-
Пояснения по пятому вопросу.
Пояснения по второму вопросу.
Пояснения по третьему вопросу.
Пояснения по четвёртому вопросу.
Пояснения по пятому вопросу.
Run the application.
- Open the console and switch to the directory with downloaded unarchive zip file from GitHub (or any other folder in which you want to create a jar file). Use "cd" command for changing directory. For example: "cd \myapp". For the changing disc space just pointed "c:" without command. In another case you can just right-click on the folder you need with pressed Shift and select "Open the command line here" in the pop-up menu.
- Setup path to JDK bin folder in environment variables if it's not already done. Or use "path" command like this "path c:\Program Files\Java\jdk1.5.0_09\bin".
- Create a jar file via "jar" command. For example, you can type this "jar cf myjar myapp" where "cf" - is a command to create and set name it, then goes a file name and after this a name of your apps folder.
To start with Google spreadsheets go through a small guide on the link
After this save client_secret.json in the resources folder