Skip to main content

Development Environment for Ionic

Install Node.js which allows interaction with Ionics CLI and installs NPM for package management. https://nodejs.org/en/ $ npm install -g cordova ionic use the command "ionic" to start development of an app some prefer facebook's yarn to NPM. $ yarn global add cordova ionic ionic info to see current runtime environment Genymotion Genymotion (https://www.genymotion.com/) for a fast Android emulator. Listening to The Moody Blues figuring this stuff out hoping to have a productive afternoon. For a Windows Environment I recommend running a command prompt from c:/users/"username" when installing with NPM. The -g stands for global which is a good thing Create a project folder and once in it run $ ionic start testApp blank //blank is the template cd into testApp folder $ npm install // installs package.json //this runs automatically on latest version as npm i $ ionic serve //opens browser on port 8100 Folder structure is critical "Folder by Feature" methodology //a folder for every main feature of our app

Comments

Popular posts from this blog

Building Apps for IOS & Android

I need to build an app that will work on both IOS & Android. I have a project to work on to use google drive to track and organize territories. I am in the process of getting the requirements for the app but also deciding on a platform that will cross develop easily. Ionic framework is what I am looking at for an open source cross-platform hybrid app development platform. Why? 1. It uses angular for the JavaScript framework. 2. outofbox cross platform UI's 3. leverages Cordova at runtime to communicate natively. 4. performance on mobile devices I trust google services because they have been dependable over the years and are committed to general public access. So Firebase as a cloud service can provide data storage & user authentication and manages the infrastructure. works well with ionic. Use JS to interact with Firebase from the front end. I want to document the process as much as possible.