-
Notifications
You must be signed in to change notification settings - Fork 75
Update README.md #31
base: master
Are you sure you want to change the base?
Update README.md #31
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,3 +82,25 @@ Run `ionic build` | |
Minds supports multiple environments. See `config/config-example.js` for an example. | ||
|
||
To run a production build run `export config_target=prod; cordova build` | ||
|
||
### Local Setup, Compiling, Building instructions for iOS app | ||
1- Download mobile-master under /minds, open a fresh terminal and enter the following commands: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This repo doesn't need to be under the Minds repo unlike engine and front. |
||
2- sudo npm install -g cordova | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This can be omitted as you are including in step 3 also. |
||
3- sudo npm install -g cordova ionic | ||
4- sudo npm -g install grunt-cli | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. grunt is not required |
||
5- cd [PathToYourApp]/mobile-master | ||
6- npm install | ||
7- npm install ios-sim | ||
8- cordova platform add ios | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. make sure you prefix ionic before any cordova command |
||
9- cordova build ios //build should succeed at this point | ||
10- sudo npm install -g gulp | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think you can ditch the whole gulp step |
||
11- sudo chown -v -R -L [yourUserName] [PathToYourApp]/mobile-master | ||
12- touch gulpfile.js | ||
13- On Finder, open [PathToYourApp]/mobile-master/gulpfile.js on a text editor and paste this block of code: | ||
var gulp = require('gulp'); | ||
gulp.task('default', function () { console.log('Hello Gulp!') }); | ||
14- ionic cordova run ios --target="[your phone choice]" | ||
|
||
psd: Once it starts running, you should also enable "toggle software keyboard" with command+K to enable the iphone keyboard. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For the purposes of this repository, I think this is out of the scope. Perhaps add this to the Wiki or something? |
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the numbers below should help the markdown render correctly.