You'll need about one minute to read this article.
MongoDB 2.6.4 runs on the default port and doesn’t require any credentials.
Simply set the
MONGODB_VERSION environment variable and include the script via the following command in your setup steps.
\curl -sSL https://raw.githubusercontent.com/codeship/scripts/master/packages/mongodb.sh | bash -s
This will start a MongoDB server on port
27018. (You can change the port via the
MONGODB_PORT environment variable, if you want to.)
We also have a couple of code examples and sample projects available, that make it easier to get started with Codeship.