Debian Best practices for packaging database applications -- more recent but inaccessible link
We should consider packaging BigchainDB as a snap as pointed out by @popey on gitter
I created a proof-of-concept snapcraft yaml for BigchainDB today. It combines rethinkdb 2.3.5 and BigchainDB 0.8.0 in a simple snap.
To build the snap on Ubuntu 16.04, grab the yaml below and run "snapcraft" in the dirrectory. It will pull rethinkdb and BigchainDB from github, build and package.
To install it on a local machine issue:-
sudo snap install bigchaindb_0.8.0_amd64.snap
snapcraft.yaml: http://paste.ubuntu.com/23747772/
example execution: http://paste.ubuntu.com/23747756/
Note: this is of course just a proof of concept, I've not fully tested BigchainDB, but it starts and returns output on API calls.
Regarding the snap thing, that's really cool! Thanks @popey!
Since a snap is not the same thing as a debian package, a different issue regarding the creation of a snap has been created at #1426
Most helpful comment
I created a proof-of-concept snapcraft yaml for BigchainDB today. It combines rethinkdb 2.3.5 and BigchainDB 0.8.0 in a simple snap.
To build the snap on Ubuntu 16.04, grab the yaml below and run "snapcraft" in the dirrectory. It will pull rethinkdb and BigchainDB from github, build and package.
To install it on a local machine issue:-
sudo snap install bigchaindb_0.8.0_amd64.snap
snapcraft.yaml: http://paste.ubuntu.com/23747772/
example execution: http://paste.ubuntu.com/23747756/
Note: this is of course just a proof of concept, I've not fully tested BigchainDB, but it starts and returns output on API calls.