Skip to content
Snippets Groups Projects
Commit ee12f838 authored by Sam Galson's avatar Sam Galson
Browse files

update readme and test

parent 7e46fc9f
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,6 @@ This package exports the following functions: ...@@ -22,7 +22,6 @@ This package exports the following functions:
This function This function
- creates the database - creates the database
- adds an admin user - adds an admin user
- adds a collection if specified
- generates a secret in `config/local-<NODE_ENV>.json` under `pubsweet-server.secret`. - generates a secret in `config/local-<NODE_ENV>.json` under `pubsweet-server.secret`.
It can be called without arguments, in which case it will take its configuration from the following config keys: It can be called without arguments, in which case it will take its configuration from the following config keys:
...@@ -38,7 +37,6 @@ It can be called without arguments, in which case it will take its configuration ...@@ -38,7 +37,6 @@ It can be called without arguments, in which case it will take its configuration
password: 'pppppp', password: 'pppppp',
email: 'email@example.com', email: 'email@example.com',
clobber: false // overwrite existing db (optional) clobber: false // overwrite existing db (optional)
collection: 'collection_title' // (optional)
} }
} }
``` ```
......
...@@ -32,7 +32,6 @@ const baseConfig = { ...@@ -32,7 +32,6 @@ const baseConfig = {
username: 'testUsername', username: 'testUsername',
email: 'test@example.com', email: 'test@example.com',
password: 'test_password', password: 'test_password',
collection: 'test_collection',
}, },
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment