Datashare Network Server
Project description
Datashare network server
This is the http server for the protocol described in the EPFL paper:
DATASHARENETWORK A Decentralized Privacy-Preserving Search Engine for Investigative Journalists
This is a work in progress.
Requirements
psycopg2
requires the installation of python3-dev
(see psycopg prerequisites here)
Running the server locally
$ make install
$ make run
pipenv run uvicorn dsnetserver.main:app
INFO: Started server process [9120]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
Developing
We use pipenv to package/develop the server. We will use it to install all dependencies :
$ make install
Database
You need to create first the database. You can bootstrap it with :
$ psql -U <admin_user> -h <psql_host> < bootstrap_db.sql
Then to run the migrations :
$ /path/to/alembic upgrade head
Testing
$ make test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for datashare-network-server-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e5a211d8d4f14b385a6926495b883fda16c06d22c412a6b9996fbb54f1b0d5b |
|
MD5 | 2f894af673f23a69bab2f889cd2c7602 |
|
BLAKE2b-256 | 236c701ba9c9113c7b6eabb123628511a6e4f0a2d1516fa412a318d14c2d80bf |
Close
Hashes for datashare_network_server-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4db2adb9e17a8cdd7b35907325e5677265be80c27935c8bc7847a0d0162dcc37 |
|
MD5 | 3bc031ddc4d7154564a140be1b1d9467 |
|
BLAKE2b-256 | 3037fe972dcaedc74e32a0d4709d7b2023a002b0da9e6474cc479abd0c976ea0 |