Open the folder name Source Code/CustomerApplicationCode and also Source Code/DeliveryBoyCode inside the downloaded package.
Now open folder/src/providers/config/config.service.ts file and change the following.
- http://your-site-url
- your-consumer-key.
- your-consumer-secret.
You can get the credentials from Admin panel -> Setting (Application) -> Application API it will be the URL of your domain. It will load CMS products data into your application.
- Go to Admin Panel > Settings(Application) > Application API
- Click Generate to create your Key and Secret.
- Copy your App Key and App Secret.
- Place this key in your config.service.ts file.
⦁ Place this consumer key & Secret in your (Delivery Boy & Customer App) projects folder/src/providers/config.service.ts file
save this file.
Test Application
open Terminal and go to a directory where is your app. You can use following command to go to different directory.
- cd project folder
Then Run command
- ionic serve
Note: Please Add CORS extension for browser if you browser shows warning when app is served sucessfully on browser.