Skip to content

Fall2016-ECSE321/Team-9

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

328 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Food Truck Management System

The project is about Food Truck Management System(FTMS) to track order, supply and equipment for buisiness.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites:

Eclipse

Android Studio

XAMPP

Google Chrome or Safari

At least JRE 1.7

PHP 5.6

Installation

Clone the project into your local directory. If you use command line, you can run git clone git@github.com:Fall2016-ECSE321/Team-9.git

Running the software

There are three plateforms that will support the FTMS: Desktop/Laptop, Mobile and Web Browser. Therefore, below will guide you through on how to running the app on different platform.

For Desktop Platform

There are three ways to run the application:

1. Running the Jar file
STEP 1 - Go to Desktop directory
STEP 2 - Run the file FTMS.jar

** Upon storing data, the FTMS will generate a data.xml file to track your saved data

2. Running the code from Eclipse
STEP 1 - Go to Desktop directory and open the project FoodTruckManagmentSystem folder to Eclipse
STEP 2 - Navigate to the src/ca/mcgill/ecse321/foodtruckmanagementsystem/application folder
STEP 3 - Run FoodTruckManagementSystemPage.java as a Java application for the Desktop Gui to open
STEP 4 - To check if data is written in the data.xml file, you can open it in same project folder
3. Running the build.xml to compile the project with TravisCI
***Important before running the build.xml with ant -- Make sure to Edit the build.xml file for path to Junit lib in the line4, if using commandline, here is the instructions:

####### Edit the build.xml : nano build.xml ####### Goto line 4 to change the value: Instead of value="../../../../../Documents/eclipse/" please input local path to eclipse. ####### Save the build.xml click: ctrl + x keys, then y key and then enterkey.

For Web Platform

STEP 1 - Go to Web directory and copy FoodTruckManagmentSystem folder to XAMPP/htdocs/ directory of local computer
STEP 2 - Go To web browser (GOOGLE CHROME OR SAFARI) and type localhost/FoodTruckManagementSystem/
STEP 3 - To check if data is written in the data.xml file, you can open it in same project folder

** It is possible that your permission of data file is not be able to write. ** If it is the case, change data.xml permission. This is the commandline instruction chmod 777 data.xml.

For Mobile Platform

STEP 1 - Go to Mobile directory and open FoodTruckManagmentSystem folder to Android Studio
STEP 2 - Navigate to the app/src/main/ca/mcgill/ecse321/foodtruckmanagementsystem folder
STEP 3 - Run MainActivity.java to open Android Mobile simulator

Authors

Below are the list of contributor that participated in this project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •