Skip to content

proyectosbeta/app-heroes-3-HOTA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

The mobile app for Heroes 3 HOTA. Consume the API https://github.com/proyectosbeta/api-heroes-3-HOTA

Tecnologies

  • React 18.2.0
  • React Native 0.70.6
  • NodeJS v14.20.1
  • Yarn 1.22.19
  • Npm 8.19.2
  • OpenJDK 17.0.4
  • Gradle 7.5.1
  • Android gradle plugin 7.2.1
  • Sonarqube 9.5.XX

Development

One terminal:

yarn install
npx react-native start --reset-cache

Another terminal:

cd android && ./gradlew clean && cd ../
npx react-native run-android

Developer debug

cd android && ./gradlew assembleRelease && cd ../

Production

At the root of the project.

npx react-native run-android --variant=release

APK path

The apk is in android/app/build/outputs/apk/release/

Quality code

Sonarqube

Install

With docker
docker pull sonarqube
docker run -d --name sonarqube -p 9100:9000 -p 9092:9092 sonarqube
Web access
http://localhost:9100
Credentials
  • User: admin
  • Password: admin

Use with docker

docker pull newtmitch/sonar-scanner
GNU-Linux/MacOS

Execute

docker run -ti -v /home/proyectosbeta/repositoriosGit/app-heroes-3-HOTA:/usr/src --link sonarqube newtmitch/sonar-scanner
Microsoft Windows

Execute

docker run -ti -v C:\Users\proyectosbeta\repositoriosGit\app-heroes-3-HOTA:/usr/src --link sonarqube newtmitch/sonar-scanner