The Atajo provider is a Git submodule that serves as the back end connector and source code host for you Atajo Mobile App.
- NodeJS (Suggested v6.10.x LTS)
- Git Project
- Create / Checkout / Clone an empty project Git Repo
- In the project folder, submodule this repo :
git submodule add https://github.com/Atajo/provider
2a. If you would like to use Ionic2 / Typescript run this extra step (to switch submodule to typescript branch):
cd provider; git checkout typescript; cd ..;
- Run the provider for the first time :
node provider/start.js DEV
-
The provider will create a directory structure and install required dependencies
-
Once done, you will have the following directory structure :
-
You will also get the following error :
-
Request keys from your Atajo account manager and add to the indicated file (
conf/keys.json
) e.g. -
Run the provider again :
node provider/start.js DEV
- You should now be connected to the Atajo Core as indicated by your release (
DEV | QAS | PRD
)
- Download and Install the Atajo dev client application to your Android or Apple iPhone from the following link
https://store.atajo.co.za/za.co.atajo.dev.client.aui (Ionic 1)
OR
https://store.atajo.co.za/za.co.atajo.dev.client (Ionic 2)
- Run the app
- Choose
dev-1-0-1.core.atajo.co.za
- Generate a QRCode of your client key and scan with the app.
- Tap Continue
- Your app will now load the code from your provider
- You will see a connect event on your provider log