Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.29 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.29 KB

My play modules united in one repository.

play-embed-mongo

A play framework module for Embedded MongoDB. It just for setting up a MongoDB for development and testing. Compatible with Play 2.2.

This module is a work in progress.

Usage

  • the module is hosted on maven central
  • add libraryDependencies += "info.schleichardt" %% "play-2-embed-mongo" % "0.5.0" to your build.sbt
  • add 380:info.schleichardt.play.embed.mongo.EmbedMongoPlugin to your conf/play.plugins file
  • your conf/application.conf file
#should be false in production!!!
embed.mongo.enabled=true
embed.mongo.port=27017
embed.mongo.dbversion="2.4.3"

Licence

This software is licensed under the Apache 2 license, quoted below.

Copyright Schleichardt

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.