ahto / ylitse-app

Mobile mentoring application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ylitse mobile application

Development

Install dependencies:

npm install

Create a config file by copying local config example:

cp config.local.json config.json

You can edit the config file as suited:

Parameter Description
baseUrl Ylitse API base URL
loginUrl Ylitse service login URL
feedBackUrl Feedback form URL
termsUrl Terms and conditions URL
userGuideUrl User's manual URL

After installation run metro package bundler:

npm start

To deploy the app on an android device run:

npm run android

Or on an iOS device (you have to use a MacBook for this):

npm run ios

Running end-to-end tests

Run the steps described below in separate terminals.

  1. Go to Ylitse API repo and start the backend locally (make sure admin user exists):
source env/bin/activate
make run-gunicorn
  1. Start bundler:
make bundler
  1. And finally run tests (make sure password matches the one configured for the local API):
YLITSE_API_PASS=random make e2e

By default emulator device name is pixel, but you can overwrite it like so:

YLITSE_DEVICE=pixel_xl YLITSE_API_PASS=random make e2e

About

Mobile mentoring application


Languages

Language:TypeScript 93.4%Language:Java 3.0%Language:Objective-C 1.8%Language:JavaScript 0.9%Language:Ruby 0.3%Language:Makefile 0.3%Language:Starlark 0.2%Language:C 0.1%Language:Swift 0.0%