To run the desktop app, you must have Apache Ant installed as well as JDK 1.7.
- Navigate to Java/FoodTruck in our repo
- Run the following:
ant run- For the alternative run, you must have Eclipse IDE as well as JDK 1.7
- Import project in Eclipse: choose already existing project
- Import the folder Java/FoodTruck in our repo
- Click on the run button
- For this run, you still need JDK 1.7
- Execute the file Java/FoodTruck/FoodTruck.jar file
Delete the Java/FoodTruck/data.xml file
To run the android app on wmulator, you must have Android Studio along with API level 23 installed on your computer.
- Open Android Studio.
- Press File > Open...
- Open the folder Android/FoodTruck from our repo.
- On Android Studio, press Make (the green hammer icon) and, once it is done building, press run (the play button).
- Select the device (OS with API level of 23) you want to use and press OK. (If there are no available devices, press Create New Virtual Device).
- Close your Android virtual device if it's open
- Press AVD Manager
- Select the device used to run the application
- In the Actions tab, press the black downward arrow to expand the options.
- Press Wipe Data. You should be able to run the app Normally, but with data reset.
To run our app on web browsers, you must have XAMPP installed.
- Paste the folder PHP/FoodTruck from our repo to the XAMPP/htdocs folder where you downloaded XAMPP
- Open any browser and type in localhost/FoodTruck
Delete the XAMPP/htdocs/FoodTruck/data.txt file.