From a2f0dc338b78cfd7f3931eb631a9999d579d34f5 Mon Sep 17 00:00:00 2001 From: Andreas Ellerbrock Date: Wed, 27 Sep 2017 15:18:49 -0700 Subject: [PATCH 1/4] Update README.md Added instructions to setup Minds mobile for MacOS. --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 259dfffe..584c763d 100755 --- a/README.md +++ b/README.md @@ -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: +2- sudo npm install -g cordova +3- sudo npm install -g cordova ionic +4- sudo npm -g install grunt-cli +5- cd [PathToYourApp]/mobile-master +6- npm install +7- npm install ios-sim +8- cordova platform add ios +9- cordova build ios //build should succeed at this point +10- sudo npm install -g gulp +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. + + From f4ca1210f84f9f43d0306098ae440af590981003 Mon Sep 17 00:00:00 2001 From: Andreas Ellerbrock Date: Sun, 1 Oct 2017 18:15:03 -0700 Subject: [PATCH 2/4] Added header to channel component The lack of a header decreases user experience and makes it hard to see other UI elements such as time, battery, back button, etc. --- src/app/modules/channel/channel.component.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/modules/channel/channel.component.html b/src/app/modules/channel/channel.component.html index 2b0d2e36..c0f5317f 100644 --- a/src/app/modules/channel/channel.component.html +++ b/src/app/modules/channel/channel.component.html @@ -1,4 +1,8 @@ + + + + @@ -6,8 +10,6 @@ - -
From 85b0d91f22253fe926bcff177f97618f322454b2 Mon Sep 17 00:00:00 2001 From: Andreas Ellerbrock Date: Sun, 1 Oct 2017 18:16:34 -0700 Subject: [PATCH 3/4] Added header to profile component To improve UX. Removed the back button arrow in the background picture because it was redundant. --- src/app/modules/groups/profile.component.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/modules/groups/profile.component.html b/src/app/modules/groups/profile.component.html index 18559696..626be6ce 100644 --- a/src/app/modules/groups/profile.component.html +++ b/src/app/modules/groups/profile.component.html @@ -1,4 +1,8 @@ + + + + @@ -6,8 +10,6 @@ - -
From a1b725a5493775cbbb51a0c47319355285043033 Mon Sep 17 00:00:00 2001 From: Andreas Ellerbrock Date: Sun, 1 Oct 2017 18:17:53 -0700 Subject: [PATCH 4/4] Enabled footer tabs to all subviews Shows bottom tab on subpages. Set it to false because it improves UX. --- src/app/app.module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 5d7e65e2..d14f93e8 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -32,7 +32,7 @@ import { routes } from "./app.routes"; ], imports: [ IonicModule.forRoot(MindsApp, { - tabsHideOnSubPages: true, + tabsHideOnSubPages: false, //Shows bottom tab on subpages. Set it to false because it improves UX. tabsPlacement: 'bottom', platforms: { android: {