Merge pull request #641 from kumavis/patch-1

readme - document test procedure
This commit is contained in:
Mark Nadal 2018-11-23 17:10:20 -08:00 committed by GitHub
commit ab637e56d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,6 +170,14 @@ This would not be possible without **community contributors**, big shout out to:
I am missing many others, apologies, will be adding them soon!
## Testing
Tests may be run with `npm test`. Tests will trigger persistent writes to the DB, so subsequent runs of the test will fail. You must clear the DB before running the tests again. This can be done by running the following command in the project directory.
```bash
rm -rf *data*
```
## Deploy
To quickly spin up a Gun test server for your development team, utilize either [Heroku](http://heroku.com) or [Docker](http://docker.com) or any variant thereof [Dokku](http://dokku.viewdocs.io/dokku/), [Flynn.io](http://flynn.io), [now.sh](https://zeit.co/now), etc. !