Coder Social home page Coder Social logo

ianburke1 / thirdyearproject Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3.49 MB

3rd Year Project for Computing Software Development level 7 GMIT 2017

License: Apache License 2.0

TypeScript 41.69% HTML 17.58% CSS 10.75% JavaScript 29.97%
ionic ionic2 angular2 cordova ios android software-development gmit college-project mobile-app

thirdyearproject's Introduction

3rd Year Main Project

Design Document

Check out the Wiki for the design document

Video

Click here to check out the video I uploaded on Youtube showing how to run the application.

Installation and Configuration Manual

Download the Install&ConfigManual word document above to install the various technologies used in this project.

User Guide

Once the installation and configuration is done. Here are the following steps on how to run the the database, server and the ionic app together. Download MyApp2/ folder and Server folder above.

Step 1: Launch MongoDB server

To launch the MongoDB server, we must locate the executable files in the MongoDB Server binary folder. Open a command terminal and enter the following:

$ cd/

Cd/ will change back to the root directory. Once in the root directory, we need to go into the Program Files directory

$ cd "Program Files" 

A shortcut to this is typing the first few words like "pro" and then press the tab button to bring up the full word. Once in the Program Files directory, we must go into the MongoDB directory.

$ cd MongoDB 

Then cd into the server directory..

$ cd server 

Use version 3.4..

$ cd 3.4 

cd into the bin folder which contains all the executable files.

$ cd bin

Once you are inside the bin folder, enter mongod command to launch the server.

$ mongod

Step 2: Launch the Node Server

In the Server folder there are two files. The package.json file is used to specify dependencies to be installed by NPM (Node Package Manager). Server.js is the actual server file. To launch the server, open up another command terminal and locate the server directory using the cd (change directory) command. Once you are in the server directory, enter the following command to launch the server:

$ node server.js

Once the MongoDB server and the Node server are running, we can now launch the Ionic 2 app.

Step 3: Launh Ionic 2

First you must locate the MyApp2 directory containing the Ionic 2 project. Open up another (No.3) command terminal and cd into MyApp2 directory. Once you are inside the directory, enter the following command to run the Ionic app:

  • Note: 'ionic serve' command will run the app on your local browser
  • We will be using 'ionic lab'. This feature makes it easy to run the app in a phone frame and with iOS and Android platforms side by side.
$ ionic lab

'Once the Ionic app is running, you can test it out!'

thirdyearproject's People

Contributors

ianburke1 avatar

Watchers

 avatar  avatar

thirdyearproject's Issues

Ionic 2 Search Bar problem

How to cancel a search and restore the list of items back to normal?

Search bar code:

`   getItems(ev: any) {
    // Reset items back to all of the items
    this.initializeItems();
    // set val to the value of the searchbar
    let val = ev.target.value;

    // if the value is an empty string don't filter the items
    if (val && val.trim() != '') {
      this.reviews = this.reviews.filter((game) => {
        return (game.name.toLowerCase().indexOf(val.toLowerCase()) > -1);
      })
    }
  } //End of getItems`

Rating Component

I want to use the 5 stars rating component but there doesn't seem to be any documentation on Ionic website.

Git commit error

fatal: Unable to create '/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.