Create a Realm Project with Ease!
Just make sure you have
- Node v6.10.3 or higher
- XCode 8.3.2 or higher installed
npm install -g realm-cli
Creating a new Realm Project!
realm-cli init myapp
This will create, ROS, iOS, and Android Projects
/myapp
/server
/ios
/android
Contributor Setup
git clone https://github.com/realm/realm-cli.git
cd realm-cli && npm install
npm run build
- Go to your
~/.bash_profile
- add an alias
a. if you like
realm
as a command then putalias realm="node ~/realm-cli/dist/index.js"
(or the location of index.ts of this project) b. if you like to userealm-cli
as the commandalias realm-cli="node ~/realm-cli/dist/index.js"
(or the location of index.ts of this project)
All we did was install dependencies and link an alias
to our command program