This is the [pax-db.org][http://pax-db.org] protein search microservice.
All versions are <major>.<minor>.<patch>
, where major and minor follow
pax-db.org versions.
MIT. See "LICENSE.txt".
docker build . -t paxdb5_0
docker run -it --network=host --user=root --restart=always --name paxdb_search_lucene_index_ct --entrypoint /bin/bash paxdb5_0
cd /srv/paxdb && mvn -P build-index install
docker cp $containerID:/data/lucene_index_5_0 [host_data_directory]
docker run -it --user=paxdb --restart=always -p 127.0.0.1:[host_port]:[docker_port]/tcp --name [] --entrypoint /bin/bash -v [host_data_directory]:/data/lucene_index_5_0 paxdb5_0
The process of updating to a new version is as follows:
- update versions in pom.xml and update other parameters in paxdb.properties (possibly also hibernate.properties)
- sql schema with tables
species
,proteins
,proteins_names
in localhost - global replace with new sql schema (e.g. paxdb5_0)
- global replace /opt/paxdb/[version_no] with new [version_no]