Skip to content

v10.0.0

Choose a tag to compare

@hoodiebot hoodiebot released this 04 Sep 12:35

<a name"10.0.0">

10.0.0 (2015-09-04)

Features

  • make hoodie-server a library with one unified config (75fef516)

Breaking Changes

  • Before this change hoodie-server shipped its own CLI start
    script and it was reading configuration from multiple places all at once.
    With this refactoring hoodie-server does no longer have these CLI
    responsibilites. The top level hoodie module can now require hoodie-server
    and pass in one unified config opbject.

Available options:

path: Project path (optional) Default: process.cwd()
loglevel: (optional) Default: 'warn'

port: Port-number to run the Hoodie App on (optional)
bindAddress': Address that Hoodie binds to (optional) Default: 127.0.0.1
www: WWW path (optional) Default: path.join(options.path, 'www')

adminPort: Port-number to run the admin-dashboard on (optional)
adminPassword: Password for the admin-dashboard (required on first run)

dbPort: Port-number to run the PouchDB Server on (optional)
inMemory: Whether to start the PouchDB Server in memory (optional) Default: false
dbPassword: Password to use for the PouchDB Server "_hoodie" admin user (optional)
dbUrl: If provided does not start PouchDB Server and uses external CouchDB. Has to contain credentials. (optional)
data: Data path (optional) Default: path.join(options.path, 'data')

(75fef516)