> For the complete documentation index, see [llms.txt](https://mtrsolution.gitbook.io/eventic-ticket-scanner-mobile-application/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mtrsolution.gitbook.io/eventic-ticket-scanner-mobile-application/environment-configuration-and-application-deployment.md).

# Environment configuration and application deployment

This is an Ionic application, you need to have **Node, NPM, Cordova and Ionic** installed in your development environment.

1. To install Node and NPM, you can use the NodeJS Installer [https://nodejs.org](https://nodejs.org/), please make sure to choose the LTS version
2. Open a new command line
3. To install Ionic and Cordiva CLI: `npm install -g ionic cordova`
4. Unzip the downloaded main file and locate the Eventic Scanner Mobile Application folder
5. Open a new command line in that folder
6. To install the node modules required by the application: `npm install`
7. Depending on your needs, add the platform of your choice:
   1. `ionic cordova platform add android`
   2. `ionic cordova platform add ios`
8. To test the application in your browser: `ionic serve`
9. To test the application in a real device, enable USB debugging and Developer Mode, then run: `ionic cordova run android --device`
10. To export the APK file: `ionic cordova run android --prod --aot --minifyjs --minifycss`
11. To deploy your application in the Play Store or the App Store, refer to <https://ionicframework.com/docs/v3/intro/deploying/>

{% hint style="info" %}
The minimum Android SDK version supported by this application is 19, which refers to Android KitKat (4.4)
{% endhint %}
