- Learning Node.js for Mobile Application Development
- Stefan Buttigieg Milorad Jevdjenic
- 358字
- 2021-07-09 21:21:30
Setting up the Ionic framework and Cordova for Windows
Once you have installed Node.js, install Ionic on your Windows machine. The rest should be straightforward.
Open the command prompt and check whether you have npm
installed by running the following command:
npm
Once you have ensured that you have successfully installed npm
, you can go ahead and run the following command:
npm install -g ionic
This step should result in an output, which shows that you have successfully installed Ionic.
In order to install Cordova, you can also use npm
and run the following command:
npm install -g cordova
Once you receive a successful output, you can go ahead and start setting up the platform dependencies.
Note
An experimental setup for Windows:
In Windows, you will have the opportunity to set up a Vagrant package, which is a one-stop-shop for the installation of Ionic on your Windows machine. This is accessible at https://github.com/driftyco/ionic- box.
Setting up the platform dependencies
To set up the platform dependencies, you need to install Java, which is explained in the following section.
If you do not have Java installed or if your version is below 6.0, install the Java JDK by heading over to http://j.mp/javadevkit-download, a customized and shortened link, and choosing the version that applies to you.
The main recommendation for these projects is that you install a version of JDK 6.0 or higher.
Select the JDK for your OS. On an Intel-based Mac, you can use the following useful table to check whether your Mac is a 32- or 64-bit OS.
You can check for Processor Name by clicking on the Apple logo in the top-left corner of your screen, followed by About my Mac:
Processor Name |
32- or 64-bit |
---|---|
Intel Core Solo |
32 bit |
Intel Core Duo |
32 bit |
Intel Core 2 Duo |
64 bit |
Intel Quad-Core Xeon |
64 bit |
Dual-Core Intel Xeon |
64 bit |
Quad-Core Intel Xeon |
64 bit |
Core i3 |
64 bit |
Core i5 |
64 bit |
Core i7 |
64 bit |
In the case of Windows, if you have a machine that was purchased in the last few years, you should go for the x64 (64-bit) version.
- Practical Data Analysis Cookbook
- SQL Server 2012數(shù)據(jù)庫技術及應用(微課版·第5版)
- iOS開發(fā)實戰(zhàn):從零基礎到App Store上架
- MATLAB 2020 從入門到精通
- Blender 3D Incredible Machines
- Building a Recommendation Engine with Scala
- Java持續(xù)交付
- Oracle JDeveloper 11gR2 Cookbook
- Android開發(fā):從0到1 (清華開發(fā)者書庫)
- Java程序設計入門
- 小程序,巧應用:微信小程序開發(fā)實戰(zhàn)(第2版)
- Java程序設計教程
- Java設計模式深入研究
- Learning QGIS(Second Edition)
- 程序員超強大腦