This repository is OUT OF DATE and is no longer maintained. The code found here should not be used. It is built against an early prototype of what has since become MongoDB Mobile. For up-to-date information on MongoDB Mobile, please visit https://www.mongodb.com/products/mobile
This repository contains sample applications for the MongoDB Mobile project to create an embedded database capable of running locally on a smartphone. The repository contains two iOS applications: one written in Objective-C and the other in Swift using a prototype Swift driver. Furthermore, the repositry contains a script (runSetup.sh) that will pull a tagged version of Mongo and the C-Driver and then cross compile them for the iOS platform. Currently, the application will only build on a physical phone or ipad as opposed to the xCode simulator.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
What things you need to install the software and how to install them
Xcode
iOS device to test application
Run the script runSetup.sh by executing the command:
sh runSetup.sh
The only other step will be outputted by the script, but in the Xcode project you must navigate to the Build Phases tab and under the Link Binary With Libraries option click the plus button, then 'add other' and navigate the the recently created directory in the project folder titled 'objfiles' and add all of the object files in the folder.
- Scons - Build Tool Used
- XCode - Application Framework
- SwiftMongo - Basis of Swift Driver
Please read (https://github.com/mongodb/mongo/wiki) for details on our code of conduct, and the process for submitting pull requests to us.
- Tyler Kaye, Ted Tuckman, Ben Shteinfeld
Most MongoDB source files (src/mongo folder and below) are made available under the terms of the GNU Affero General Public License (GNU AGPLv3). See individual files for details.
Mentors: Andrew Morrow, Jason Carey, and all of the Server Platforms Team at MongoDB