Before going any further, you should double check that everything specified in the different check lists provided here is set. From now, it will be assumed that it is the case.
CPS uses a Command-Line Interface (CLI). Therefore, you must be able to use the command-line of the computer hosting CPS (for example via ssh). First, you need do move to the cps direction, the one in which you can see the bin folder:
Note: If you run a GNU/Linux or BSD based operating system (If you don't ... here's another reason why you should!), you can simply use "./cps.sh" instead of "java -cp 'bin/:lib/*' myShell.MainClass":
Each time it is launched, no matter what the arguments are, CPS creates a log file in the data/log/ directory. You can check it to find more information in case CPS encounters a problem.
CPS provides several fonctions allowing different modules to be checked. You will find below a list of how to perform these checks and how they work. You should perform these tests in the order given below. Indeed, for instance, if --check config says there is a problem, it may be the cause of those you could encounter when asking for --check sql-db.
To check if the config.xml file contains all the information necessary to continue, you should use this command:
To check the communication between CPS and the MySQL database, you should use this command:
During each splitsort iteration, a new job is created at CrowdFlower by copying the one whose Id is specified in the config.xml file. In order to check if this step can be done without a problem, you should use the following command:
When the splitsort is over, CPS asks (via an HTTP request) the antechamber to send you an e-mail with the results.xml file as an attachment. In order to test this feature, you should use this command:
All right, everything works fine and you have triple checked your check lists? Then it is time to talk business: in this part, you will see how to place your media along the axes you want.
First, you must start the splitsort. For this, you must you the following command:
This will perform the first half of a splitsort iteration. For more details on what exactly happens here, you can check the UML diagramms in this page.
Now that a new splitsort started, you will have to perform iteration. These are manually launched, so you will have to run other commands. You will eventually receive an e-mail asking you to start a new iteration when results are ready to be downloaded. Well, provided that you correctly configured the antechamber...
Once you have received this e-mail from CPS, you should run the following command:
You will know that the splitsort is finished when you receive an email from CPS containing a results.xml file. If, for some reason, you can not read the attachment, an address from which you can download this file will be given in the mail. You will be able to find it here.