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.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a94a1b0656f9b4e7f6fe6d467bf8100582bcaea7693962da52c40767fb1517dc |
|
MD5 | c731063243102daf7458da5a46c9caa2 |
|
BLAKE2b-256 | 4e7073e061a064bef5584a1447229e5847cb1fc8d80a0f4bf62166405f3b0a28 |
Close
Hashes for datashare_network_server-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64a8b2c5f1e54ff6d33e559af653f39c8f227fb052d3e63ac9b4817793b1c022 |
|
MD5 | 00c2e26c88f9623452779ac4d263cc4b |
|
BLAKE2b-256 | 15b276b1df3422f1787d4f886c545a45370ef876b4b805ce16162470a9e73a54 |