Scripts and build system for analysis of Chromium History.
NOTE: The following instructions use indirectly use the shell scripts inside the setup folder. These were made for the Vagrant target box which is Ubuntu 12.04 (Precise64). These install scripts will work on the production box without much alteration, but production is one Ubuntu version ahead at 14.04(Trusty64).
eval $(ssh-agent)
followed by ssh-add <path to ssh private key>
(you can leave off the path if your key is call id_rsa). If you may be asked for the passphrase for your key. Then run ssh-add -l
if this prints out a hash then you have succeeded, else you may need to make a ssh key.There is a tutorial on this here You need to add the eval $(ssh-agent)
and ssh-add
commands to your bash_profile if you don't want to run this everytime you bring up the box. More info on this herevagrant up
, which will download a vm image and install all of the dependencies of this project.vagrant ssh
, and this will ssh you into the new box. (If you run into issues here you may not have openssh in your path. Add the git bin tools to your system path to fix this.) cd chromium-history
and run bundle install
. This will install all of the gems for the project. export RAILS_ENV=test
. Doing this only resets the environment variable for this bash session. To have this set automatically when you ssh in, add the command to your .bashrc file. rake run
. This command will attempt to build project. If you see an erros about invalid postgresql username or password you may need to delete the other environment entries in your database.yml file. There is a mysterious bug where it will pick up the values for another environment. For a full list of vagrant commands go here