Concordia School Map project built with Ionic Framework.
ON WINDOWS:
Clone this repo. "git clone
Set the project directory as your working directory. "cd soen390-schoolmap"
Pull all dependencies. "npm install"
Build the project. "npm build"
Run the application. "ionic serve"
The project will be deployed onto localhost:8100. If you run into problems, message the team.
ON MAC:
Clone this repo. "git clone
Set the project directory as your working directory. "cd soen390-schoolmap"
npm i -D -E @angular/cli
Run the application. "ionic serve"
Ensure you have Java JDK 8, Android Studio and updated Android SDK tools, platforms and component dependencies.
Open Android Studio.
Click Tools & select SDK Manager.
Install the most recent Android versions found in Android SDK (should have at least Android 8.0 and above).
Plug your Android device into your PC.
Ensure that Developer Mode is enabled on your device (quick google search can help with this).
Change to your codes directory and run the following command: ionic cordova run android --device
**For simulator (mobile) view, run : ionic cordova build ios ionic cordova emulate ios
The project will be deployed onto localhost:8101. If you run into problems, message the team.
Ensure you have Java JDK8, Android Studio and updated Android SDK tools, platform and component dependencies.
Open Android Studio, select tools, click on SDK manager and install the most recent versions of android (must have at least Android 8.0).
Plug in your Android device to your PC and enabled developer mode.
Open a terminal and select the directory which the project is stored in.
Run the following command: ionic cordova run android --device
If your phone is unlocked it should take about 30 seconds for the app to appear and be installed onto your device.
Please watch the following video to learn the fundamentals of the ionic framework. https://www.youtube.com/watch?v=r2ga-iXS5i4&t=1339s. If you're familiar with Angular 2+, the first hour should be enough.
Similar to Angular, components are generated using a command. (ng generate ... ). Ionic comes with a similar command to generate ionic components. (ionic generate type name).
Please read https://ionicframework.com/docs/cli/commands/generate for more info.
Ionic comes built with some existing UI components that will make it easier for us to build our UI. Visit: https://ionicframework.com/docs/components