Skip to content

Commit

Permalink
Update DevEnvironmentSetup.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Darío Javier Cravero committed Apr 13, 2018
1 parent 9861750 commit 93cc904
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions DevEnvironmentSetup.md
@@ -1,16 +1,19 @@
# Mac

## General, for React DOM and React Native ##
1. Install Xcode from App Store
2. Open Xcode and follow installation steps to get all the modules (we need iOS simulator)
3. Open terminal (in Applications/Utilities) and run `curl -L https://git.io/n-install | bash`
3. Open the terminal (in Applications/Utilities) and run `curl -L https://git.io/n-install | bash`
4. Open new tab (CMD+t) and run `n lts`
5. Run `/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
6. Run `brew install yarn --without-node`
1. Install GIT https://gist.github.com/derhuerst/1b15ff4652a867391f03#file-mac-md
7. Go to the project directory, type `cd ` (yes, with space after cd) and drag project folder on the terminal window
8. You might be missing dependencies, so run `yarn`
9. To start the project run `yarn start` - if it's a web project it will open in the browser


## If you working on a React Native project (mobile) you need to also ##
1. Install Xcode from App Store
2. Open Xcode and follow installation steps to get all the modules (we need iOS simulator)
1. Run `brew install watchman`
2. To get expo simulator for native run `yarn global add exp`
3. To install expo ios `exp install:ios`
Expand All @@ -21,3 +24,13 @@

Happy building! You are all set.
In case if you run into any road blocks reach out with questions via Slack at https://slack.viewsdx.com/ and tag @dario or @viewsdx-tom

# Windows for React DOM

1. Download NodeJS from https://nodejs.org/en/ and install it.
2. Download and install Yarn https://yarnpkg.com/lang/en/docs/install/.
3. Download and install GIT https://gist.github.com/derhuerst/1b15ff4652a867391f03#file-windows-md.
3. Open the terminal (in Start/Program Files/Accessories/Command Prompt).
7. Go to the project directory, type `cd ` (yes, with space after cd) and drag project folder on the terminal window
8. You might be missing dependencies, so run `yarn`
9. To start the project run `yarn start` - if it's a web project it will open in the browser

0 comments on commit 93cc904

Please sign in to comment.