Skip to content

proyectosbeta/appProyectosBeta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

The app for Proyectos Beta (proyectosbeta.net)

Tecnologies

  • React 18.2.0
  • React native 0.70.6
  • NodeJS v14.20.1
  • NPM 8.18.0
  • OpenJDK 17.0.4
  • Gradle 7.5.1
  • Emulator Android Pixel_XL_API_29(AVD)
  • Docker 20.10.17
  • Sonarqube 9.5.XX

Development

Configuration en

cp .env.example .env

Change env variables

URL_API_BOOKS = "https://books.proyectosbeta.net"

Installation

One terminal:

npm install --legacy-peer-deps
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 9000:9000 -p 9092:9092 sonarqube
Web access
http://localhost:9000
Credentials
  • User: admin
  • Password: admin
Use with docker
docker pull newtmitch/sonar-scanner
GNU-Linux/MacOS

Execute

docker run -ti -v /home/proyectosbeta/repositoriosGit/appProyectosBeta:/usr/src --link sonarqube newtmitch/sonar-scanner
Microsoft Windows

Execute

docker run -ti -v C:\Users\proyectosbeta\repositoriosGit\appProyectosBeta:/usr/src --link sonarqube newtmitch/sonar-scanner