Search Engine to search research papers published in http://arxiv.org/
Documentation being served here https://alekskivuls.github.io/arXivSearchEngine/
From top level directory
mkdir build
cd build
cmake ..
make
Executables are generated in build directory.
Program | Executable Name |
---|---|
Console Engine | arXivSearchEngine |
Web Engine | arXivSearchEngineWeb |
Unit tests | arXivSearchEngine_test |
When making changes to source only need to run make
again to regenerate executables.
To run the web engine pass in the args to start the server port and html root dir.
./arXivSearchEngineWeb --http-address=0.0.0.0 --http-port=8080 --docroot=.
From top level directory
rm -r build
To run with sanitizers pass cmake flags -DSANITIZE_ADDRESS=On
, -DSANITIZE_MEMORY=On
, -DSANITIZE_THREAD=On
, or -DSANITIZE_UNDEFINED=On
Can build and run project from a Vagrant box. Install Vagrant with Virtual Box as your provider.
vagrant up # Run to turn on VM
vagrant ssh # Connect to VM, password is vagrant if prompted
vagrant halt # Stop VM
vagrant destroy # Delete VM from disk
- To run, in top level directory run
vagrant up
to provision the VM. - Then run
vagrant ssh
to login. If prompted for password, default password isvagrant
. - To stop VM run
vagrant halt
. Runvagrant up
to spin up again. - If you wish to destroy the VM run
vagrant destroy
recommend halting VM first. You can then runvagrant up
to create a new fresh VM if you wish. - Can run and build inside vm. Follow respective commands to do so. Running the Web Engine, the port 8080 is forwarded to localhost:8888 to open on your host machine's browser.