This is a part of the EPFL's System programming project 2016 course. It aims to create a simple image store based on Facebook haystack model.
Install dependencies:
brew tap homebrew/science; brew install json-c vips openssl libtool
sudo apt install libssl-dev libvips-dev libjson-c
Download Mongoose .c
and .h
files and place them unider pictDBM/libmongoose
.
Use basic Makefile:
make pictDBM
Or use CMake:
cmake .
make
./pictDBM help
Run these commands given a db
previously created with ./pictDBM create db
and go to http://localhost:8000
:
export DYLD_FALLBACK_LIBRARY_PATH=libmongoose
./pictDB_server db
Project is available under CC-BY-NC-SA 4.0 and provided files belong their owners under appropriate licensing.