Oracle JET - First touch

In this tutorial I'll explain an easy way to get your first touch with Oracle JET.




Tutorial:


1 Download the Windows installer from the Node.js web site: https://nodejs.org/en/

1.1 Install an restart the computer!

1.2 Test command node and npm on cmd:
node -v
npm -v




2 Install ojet, run this command: npm -g install @oracle/ojet-cli




3 Create a JET application with a default template:navbar

3.1 run this command: ojet create <applicationDirectory> --template=navdrawer
Example: ojet create oraJETApplication --template=navdrawer



3.2 move to you project directory: cd <ProjectName>. Example: cd oraJETApplication

3.3 build project: grunt build



3.4 run grunt server to show your JET App in to a browser: grunt server



3.3.3 after a few seconds it will appear the jet application in your default browser




4 Go to mobile

4.1 run comand: npm -g install cordova



4.2 run command: ojet create <project name> --hybrid --template=navdrawer --platforms=ios|android|windows
Example: ojet create oraJETAppMobile --hybrid --template=navdrawer --platforms=android



4.2.1 move to you project directory: cd <ProjectName>. Example: cd oraJETAppMobile

4.2.2 try to run ojet serve to view your mobile application, but you need the mobile enviroment for each plataform: android: eclipse, ios:Xcode, windows: visual studio
Run command: ojet serve in application directory



More information here: http://www.oracle.com/webfolder/technetwork/jet/index.html

Cheers!!

Related Posts:

No responses yet for "Oracle JET - First touch"

Post a Comment