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.6.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90cd028029edf3c731f2d81d0db040e2843e89bd6ed7f66128ec9a6a5f1a4fa6 |
|
MD5 | 58f42b0d2506d10a77b55f8f2fd9932e |
|
BLAKE2b-256 | d754b71bd1c25818928dd48f1e2df8710c78de6800015ffa4b309a066c65ed3b |
Close
Hashes for datashare_network_server-0.6.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94d47ce24a702cb92313070c997a8dfe574623493eeccd2f89c39c4c949c2fbe |
|
MD5 | 3c637de1eb8cee9f00a8b2928c3469f1 |
|
BLAKE2b-256 | e97efcb3115e8d85d2dedbe819da87095ab43e6c955527761a839ab905bbb352 |