Setting up Tetrad in IntelliJ IDEA - cmu-phil/tetrad GitHub Wiki
Setting up in the current IntelliJ IDEA is rather trivial and can probably be figured out without help.
Creates Project by cloning from GitHub
- create a new project from project from version control (In the GUI, it's File-->New-->Project from Version Control...)
- in the URL box type the web address of the Tetrad GitHub page (https://github.com/cmu-phil/tetrad).
- Specify version control ad "Git" and give the directory where the project should be checked out to (the default is usually good)
- Click Clone. Intellij will check out and set up the project perfectly in most cases.
Downloads from Artifact Repositories
(optional) proxy setting could be required. google or check maven website if necessary.
- in the Maven tab on the right of the screen, under Tetrad Project (root), double click "clean".
- When that's finished, double click "compile".
- That will download all of the dependencies from Maven and compile the project.
Runs GUI App
- in the Navigate Menu, select "Class" and select "Tetrad" (in the edu.cmu.tetradapp.Tetrad package, not the other one)
- when the code for that class appears, right click (on a Mac two-finger click) on the name of the class, "Tetrad",
- from the popup menu select "Run 'Tetrad.main()'".
- if configuration window appear, select "tetrad-gui" in class path setting(-cp).
- And your off to the races.