-
Notifications
You must be signed in to change notification settings - Fork 4
How to install the app
Requirements:
- Git bash - for Windows user. download it from here: https://git-scm.com/downloads
- only Developers JDK Java 1.8. download it from here: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
- only Developers Maven - download it from here: https://maven.apache.org/install.html or https://www.mkyong.com/maven/how-to-install-maven-in-windows/
-
Git clone the project repository:
git clone https://github.com/TechnionYP5777/SmartParking.git
-
Go to SmartParking directory
-
only Developers run "mvn install" to install the necessary packages to run the project
-
Install Node.js (install version v6.11.10)
-
open command prompt/git bash, go to project directory and then enter:
sudo npm install -g cordova
(for linux users) /npm install -g cordova
(for windows users) -
to install Ionic, go to SmartParking/client and then simply run:
sudo npm install -g ionic@2.2.3
(for linux users) / npm install -g ionic@2.2.3
(for windows users)
-
only Developers run this commend
sudo npm install ionic-angular@latest --save
(for linux users) /npm install ionic-angular@latest --save
(for windows users) -
to install dependencies of the project, run in SmartParking/client:
sudo npm install
(for linux users) /npm install
(for windows users) -
You're almost done! run in SmartParking/client/src:
echo "" > identity.js
and then npm run idme
- Run the project:
go to SmartParking/client and run
ionic serve
(if the browser doesn't start automatically, go to > http://localhost:8100/
- Download the apk file from the main folder of our git repository: SmartParking.apk
- install the apk file on your android device.
- run
Disclaimer: on some MAC computers we tried to run our project, there was a problem with Ionic. our suggestion in this case is download XCode and then run the command xcode-select --install