Have Node.js and npm installed and working.
node index.js or ./index.js
A help menu will be displayed, please follow the instructions provided by the help
The DB user needs to have writing rights
| key | value | description |
|---|---|---|
| DB_SERVER | <url> |
url of the db server |
| DB_PORT | number | port of the db server |
| DB_NAME | string | name of the db collection |
| DB_AUTH_USER | string | db user |
| DB_AUTH_PASSWORD | string | db password |
| DB_AUTHSOURCE | string | authentication db |
| ACCESSION_PREFIX | string | prefix for the accession (ex: MCNS) |