- Install Angular CLI
https://github.com/angular/angular-cli
apt-get -y install php7.0-cli
mvn archetype:generate -DarchetypeArtifactId=jersey-quickstart-grizzly2 -DarchetypeGroupId=org.glassfish.jersey.archetypes -DinteractiveMode=false -DgroupId=com.attlas -DartifactId=service -Dpackage=com.attlas -DarchetypeVersion=2.17
- Clone forked repository
- Configure developer parameter for local repository
> git config --local user.name <developer name>
> git config --local user.email <developer email>
> git remote add upstream <master git reposiotry>
- clone [email protected]:swe-course/content.git
- execute
> ./prereq.sh docker
> ./prereq.sh maven
> ./prereq.sh nodejs
> ./prereq.sh cordova
> ./prereq.sh android
- Install dependencies
> cd static
> npm i
- Build
> cd static
> npm run build
- Add Cordova platforms
> mobile/cordova platform add [android|browser]
- Build
> mobile/cordova build [android|browser]
- Run
> mobile/cordova run [android|browser [[--port=8001] [--target=Firefox]]]
- Debug
- http://geeklearning.io/apache-cordova-and-remote-debugging-on-android/
- Get Ubuntu VM (16.04)
- Install jre/jdk, docker, jenkins, nodejs, maven
- Execute '<project_root>/nexus-up.sh'
- Login :8081 with admin/admin123 and change password
- Execute <project_root>/cidd/prereq.sh cordova
- Execute <project_root>/cidd/prereq.sh android
- Login into remote VM
- Add <project_root>/cidd/jenkins.rsa.pub into authorized_keys