The app for Proyectos Beta (proyectosbeta.net)
- 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
cp .env.example .env
Change env variables
URL_API_BOOKS = "https://books.proyectosbeta.net"
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
cd android && ./gradlew assembleRelease && cd ../
At the root of the project.
npx react-native run-android --variant=release
The apk is in android/app/build/outputs/apk/release/
docker pull sonarqube
docker run -d --name sonarqube -p 9000:9000 -p 9092:9092 sonarqube
http://localhost:9000
- User: admin
- Password: admin
docker pull newtmitch/sonar-scanner
Execute
docker run -ti -v /home/proyectosbeta/repositoriosGit/appProyectosBeta:/usr/src --link sonarqube newtmitch/sonar-scanner
Execute
docker run -ti -v C:\Users\proyectosbeta\repositoriosGit\appProyectosBeta:/usr/src --link sonarqube newtmitch/sonar-scanner