SETUP AND LAUNCH INSTRUCTIONS Follow these instructions to setup the backend and front-end project, and successfully launch the Carleton Unite application on an Android or iOS device. Alternatively, the Carleton Unite mobile application can also be launched in a browser for testing. However, it should be noted that when the application runs in a browser, the native plugins such as Camera, Push-Notifications, etc. do not work. BACK-END (/carletonUniteServer) Make sure you have access to the /carletonUniteServer directory. Then, follow the instructions below. 1. Install MongoDb. 2. Run mongod.exe executable file to launch the MongoDb database. By default, MongoDb is configured to listen to connections at port 27017. 3. Install Node. 4. Open terminal and cd into the directory /carletonUniteServer. 5. Type the command npm install and press Enter. This command asks NPM to install all the packages listed in the package.json file. 6. Open the file server file: /carletonUniteServer/server.js. Edit the file to configure the settings as needed. The most important part here is to make sure that the URL’s provided for MongoDb, Parse-Server and Parse-Dashboard are appropriate. 7. Open the terminal and make sure that the root directory is /carletonUniteServer. Type the command node server.js and press Enter. This command starts running the Node.js server. 8. Open a browser and navigate to http://localhost:8020/dashboard (your URL might be different - check server.js.) to access the Parse Dashboard. This is where you can view and modify the MongoDb database. FRONT-END (/CarletonUnite) Make sure you have access to the /CarletonUnite directory. Then, follow the instructions below. 1. Make sure you have Node installed. 2. Open terminal and cd into the /CarletonUnite directory. Type the command npm install and press Enter. This command will install all the required packages listed in the package.json file. 3. While being in the /CarletonUnite directory in the terminal, type the command npm install -g ionic cordova. This command will install ionic and cordova globally on your system. 4. Open the file /CarletonUnite/src/app/app.component.ts and make sure that the Parse Server URL is so as to match the URL where your Parse Server is running at. 5. Open terminal and cd into the directory /CarletonUnite. To run the app in o Browser (Test environment): Type the command ionic serve and press Enter. A web page will open to display the app once the build finishes. Typically, the app runs at the URL http://localhost:8100 but this might be different depending on the ports available on your system. Check the terminal to find out the URL at which the app server is running at. o Browser (Native): Type the command ionic cordova run browser and press Enter. If you receive an error saying that the platform is not available, then add the platform using the command ionic cordova platform add browser and press Enter. o Android: To build and run the Android app, your will need to have the Android SDK and JAVA JDK installed. Type the command ionic cordova run android and press Enter. If you receive an error saying that the platform is not available, then add the platform using the command ionic cordova platform add android and press Enter. o iOS: To build and run the iOS app, your system will have to be a Mac OS, and have XCode installed. Type the command ionic cordova run iOS and press Enter. If you receive an error saying that the platform is not available, then add the platform using the command ionic cordova platform add iOS and press Enter.