-
Notifications
You must be signed in to change notification settings - Fork 2
Setting Up
First you need git to clone this repository. Then, you're going to need Node.js and npm. nvm is a good way to install them. Once nvm is installed, execute the following in your shell:
# See the available versions of node.js that you are able to install
$ nvm ls-remote
# Find the appropriate version of node.js and install it.
# You should find the highest version number that looks like v4.x.x, e.g.
$ nvm install 4.2.6
# Set default version to use
$ nvm alias default 4.2.6
You can test to see if these were successful by running node --version
and npm --version
, and seeing if they print out version numbers.
After cloning the repo, run npm install
inside of the chron-react
directory.
If you're going to be developing the iOS app, you will need Xcode. Most likely you should already have Xcode if you have git installed, but if you don't you can install it from the App Store.
To run the app, open chronreact.xcodeproj
in Xcode. In a separate shell, run npm start
. This will start the React Native packager for development. You can then type cmd-r
or click the playhead in the top left to run the actual app.