8000 GitHub - ahto/ylitse-app: Mobile mentoring application
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ahto/ylitse-app

 
 

Repository files navigation

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
{"resolvedServerColorMode":"day"}

About

Mobile mentoring application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 93.4%
  • Java 3.0%
  • Objective-C 1.8%
  • JavaScript 0.9%
  • Ruby 0.3%
  • Makefile 0.3%
  • Other 0.3%
0