The recommended way to set up a Codeface instance is via vagrant. Clone the repository and run
vagrant up
to obtain a fully provisioned Codeface machine. Vagrant defaults to Virtualbox as provider, which may cause large performance impacts especially for I/O heavy tasks. You can /alternatively/ use
vagrant up --provider=lxc
if you have the corresponding LXC provider for vagrant installed on your system. To get shell access on the machine in each case, use
vagrant ssh
If vagrant is not yet installed on your system, please consult the corresponding [wiki page] (https://github.com/siemens/codeface/wiki/Runnning-codeface-with-Vagrant).
Conceptually, work with Codeface is split in two stages:
analysis.md
for further details. Note that this process involves
substantial amounts of git repo querying and data crunching, and can
require several hours for large projects like the Linux kernel.webserver.md
for setup details), or by querying the database
directly. See file codeface/R/interactive.R
for exemplary instructions.To perform an analysis of project qemu (a machine emulation software) and inspect the results in the interactive web frontend, run the following steps:
vagrant ssh
into the
virtual machine/vagrant/id_service/start_id_service.sh&
/vagrant/analysis_example.sh
(this process
may take a while to complete)cd vagrant; ./shiny-server.sh