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.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d972ec4b187316ef188ef5259a39c475b1f0526eb0d8552ff670d6a1320e7cbe |
|
MD5 | 6b5993f6833f44e60a64342123c387a4 |
|
BLAKE2b-256 | 6610e5f6022a3658a7d0aab3e8d74073b5c86c31287342fb72b21ee804787dd8 |
Close
Hashes for datashare_network_server-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67c39a93d7db145fc429289d48e423809b1ef6fe5c6be18c812420f39b0866cb |
|
MD5 | 78031076739be65174ba3aa349945206 |
|
BLAKE2b-256 | ed6cdf252015ef9b43cca0e6af5a48564ac37dc7b351f1f6641b686157691e57 |