File tree Expand file tree Collapse file tree 8 files changed +48
-28
lines changed Expand file tree Collapse file tree 8 files changed +48
-28
lines changed Original file line number Diff line number Diff line change 6464 docker load -i artifacts/ublhub-container-image.tar
6565
6666 # Tag images
67- docker tag quay.io/projectopenubl/ublhub:latest quay.io/projectopenubl/ublhub:early-access
68- docker tag quay.io/projectopenubl/ublhub:latest ghcr.io/project-openubl/ublhub/searchpe :early-access
67+ docker tag quay.io/projectopenubl/ublhub:latest quay.io/projectopenubl/ublhub:early-access
68+ docker tag quay.io/projectopenubl/ublhub:latest ghcr.io/project-openubl/ublhub/ublhub :early-access
6969 - name : Push images to registry
7070 run : |
71- docker push quay.io/projectopenubl/ublhub:early-access
72- docker push ghcr.io/project-openubl/ublhub/searchpe :early-access
71+ docker push quay.io/projectopenubl/ublhub:early-access
72+ docker push ghcr.io/project-openubl/ublhub/ublhub :early-access
Original file line number Diff line number Diff line change 55
66# Ublhub
77
8- Microservicio que expone los datos provenientes del ` padrón reducido ` de la SUNAT.
8+ Microservicio que administra tus XMLs emitidos a la SUNAT.
99
1010## Ejecutar en modo desarrollo
1111
@@ -14,21 +14,42 @@ Microservicio que expone los datos provenientes del `padrón reducido` de la SUN
1414Puedes ejecutar la aplicación en modo desarrollo con:
1515
1616``` shell script
17- ./mvnw compile quarkus:dev -Pdev -f backend/
17+ ./mvnw compile quarkus:dev
1818```
1919
2020### Iniciar UI
2121
2222Instala las dependencias npm:
2323
2424``` shell
25- yarn --cwd admin-console/ src/main/webapp install
25+ npm install --prefix src/main/webapp
2626```
2727
2828Inicia la UI en modo desarrollo:
2929
3030``` shell
31- yarn --cwd admin-console/src/main/webapp run start
31+ npm run start --prefix src/main/webapp
32+ ```
33+
34+ ## Desplegar en Minikube
35+
36+ - Instala e inicia una instancia de Minikube
37+ - Create un namespace ` openubl `
38+ - Create un PVC para la base de datos
39+ - Despliega Ublhub
40+
41+ ``` shell
42+ minikube start
43+ kubectl create ns openubl
44+ kubectl create -f src/main/kubernetes/minikube-pvc.yml -n openubl
45+ eval $( minikube -p minikube docker-env)
46+ mvn clean package -Dquarkus.kubernetes.deploy=true -Dquarkus.kubernetes.namespace=openubl -DskipTests
47+ ```
48+
49+ Expone Ublhub usando:
50+
51+ ``` shell
52+ minikube service ublhub -n openubl
3253```
3354
3455## Links
Original file line number Diff line number Diff line change 11## PostgreSQL
2- Searchpe requiere de una base de datos para poder funcionar. Puedes iniciar PostgreSQL con el método de tu preferencia.
2+ Ublhub requiere de una base de datos para poder funcionar. Puedes iniciar PostgreSQL con el método de tu preferencia.
33Usa el siguiente comand Docker para un inicio rápido:
44
5- docker run -p 5432:5432 -e POSTGRES_DB=searchpe_db -e POSTGRES_USER=db_username -e POSTGRES_PASSWORD=db_password postgres:13.1
5+ docker run -p 5432:5432 -e POSTGRES_DB=ublhub_db -e POSTGRES_USER=db_username -e POSTGRES_PASSWORD=db_password postgres:13.1
66
77## Configuración
8- Searchpe está hecho en Quarkus. Todas las opciones de configuración descritas en https://quarkus.io/guides/config-reference
8+ Ublhub está hecho en Quarkus. Todas las opciones de configuración descritas en https://quarkus.io/guides/config-reference
99son válidas.
1010
1111Por defecto se usa la configuración ubicada en la carpeta ./config/application.properties donde puedes manipular la
12- configuración de Searchpe .
12+ configuración de Ublhub .
1313
14- ## Arrancar Searchpe
15- Si estas usando Searchpe en JVM Mode entonces ejecuta ./bin/standalone.sh o ./bin/standalone.bat dependiendo de tu Sistema Operativo.
14+ ## Arrancar Ublhub
15+ Si estas usando Ublhub en JVM Mode entonces ejecuta ./bin/standalone.sh o ./bin/standalone.bat dependiendo de tu Sistema Operativo.
Original file line number Diff line number Diff line change 44 < meta charset ="utf-8 "/>
55 < meta name ="viewport " content ="width=device-width, initial-scale=1 "/>
66 < link rel ="stylesheet " href ="assets/patternfly/patternfly.min.css "/>
7- < title > Searchpe </ title >
7+ < title > Ublhub </ title >
88 < link rel ="icon " href ="assets/images/favicon.ico "/>
99 < script >
1010 function showPasswordToggle ( ) {
3838< div class ="pf-c-login ">
3939 < div class ="pf-c-login__container ">
4040 < header class ="pf-c-login__header ">
41- < img class ="pf-c-brand " src ="assets/images/logo-navbar.svg " alt ="Searchpe Logo "/>
41+ < img class ="pf-c-brand " src ="assets/images/logo-navbar.svg " alt ="Ublhub Logo "/>
4242 </ header >
4343 < main class ="pf-c-login__main ">
4444 < header class ="pf-c-login__main-header ">
@@ -103,7 +103,7 @@ <h1 class="pf-c-title pf-m-3xl">Log in to your account</h1>
103103 </ div >
104104 </ main >
105105 < footer class ="pf-c-login__footer ">
106- < p > Use this form to log in into the Console administration and start using Searchpe .</ p >
106+ < p > Welcome to Ublhub, the enterprise solution for managing SUNAT integration of UBL documents .</ p >
107107 </ footer >
108108 </ div >
109109</ div >
Original file line number Diff line number Diff line change 44 < meta charset ="utf-8 "/>
55 < meta name ="viewport " content ="width=device-width, initial-scale=1 "/>
66 < link rel ="stylesheet " href ="assets/patternfly/patternfly.min.css "/>
7- < title > Searchpe </ title >
7+ < title > Ublhub </ title >
88 < link rel ="icon " href ="assets/images/favicon.ico "/>
99 < script >
1010 function showPasswordToggle ( ) {
3838< div class ="pf-c-login ">
3939 < div class ="pf-c-login__container ">
4040 < header class ="pf-c-login__header ">
41- < img class ="pf-c-brand " src ="assets/images/logo-navbar.svg " alt ="Searchpe Logo "/>
41+ < img class ="pf-c-brand " src ="assets/images/logo-navbar.svg " alt ="Ublhub Logo "/>
4242 </ header >
4343 < main class ="pf-c-login__main ">
4444 < header class ="pf-c-login__main-header ">
@@ -101,7 +101,7 @@ <h1 class="pf-c-title pf-m-3xl">Log in to your account</h1>
101101 </ div >
102102 </ main >
103103 < footer class ="pf-c-login__footer ">
104- < p > Welcome to Searchpe , the enterprise solution for managing natural and legal entities in your organization .</ p >
104+ < p > Welcome to Ublhub , the enterprise solution for managing SUNAT integration of UBL documents .</ p >
105105 </ footer >
106106 </ div >
107107</ div >
Original file line number Diff line number Diff line change 44 < meta charset ="utf-8 "/>
55 < meta name ="viewport " content ="width=device-width, initial-scale=1 "/>
66 < link rel ="stylesheet " href ="assets/patternfly/patternfly.min.css "/>
7- < title > Searchpe </ title >
7+ < title > Ublhub </ title >
88 < link rel ="icon " href ="assets/images/favicon.ico "/>
99</ head >
1010< body >
2828< div class ="pf-c-login ">
2929 < div class ="pf-c-login__container ">
3030 < header class ="pf-c-login__header ">
31- < img class ="pf-c-brand " src ="assets/images/logo-navbar.svg " alt ="Searchpe Logo "/>
31+ < img class ="pf-c-brand " src ="assets/images/logo-navbar.svg " alt ="Ublhub Logo "/>
3232 </ header >
3333 < main class ="pf-c-login__main ">
3434 < header class ="pf-c-login__main-header ">
@@ -99,8 +99,7 @@ <h1 class="pf-c-title pf-m-3xl">Sing up</h1>
9999 </ div >
100100 </ main >
101101 < footer class ="pf-c-login__footer ">
102- < p > Welcome to Searchpe, the enterprise solution for managing natural and legal entities in your
103- organization.</ p >
102+ < p > Welcome to Ublhub, the enterprise solution for managing SUNAT integration of UBL documents.</ p >
104103 </ footer >
105104 </ div >
106105</ div >
Original file line number Diff line number Diff line change 44 < meta charset ="utf-8 "/>
55 < meta name ="viewport " content ="width=device-width, initial-scale=1 "/>
66 < link rel ="stylesheet " href ="assets/patternfly/patternfly.min.css "/>
7- < title > Searchpe </ title >
7+ < title > Ublhub </ title >
88 < link rel ="icon " href ="assets/images/favicon.ico "/>
99</ head >
1010< body >
2828< div class ="pf-c-login ">
2929 < div class ="pf-c-login__container ">
3030 < header class ="pf-c-login__header ">
31- < img class ="pf-c-brand " src ="assets/images/logo-navbar.svg " alt ="Searchpe Logo "/>
31+ < img class ="pf-c-brand " src ="assets/images/logo-navbar.svg " alt ="Ublhub Logo "/>
3232 </ header >
3333 < main class ="pf-c-login__main ">
3434 < header class ="pf-c-login__main-header ">
@@ -98,7 +98,7 @@ <h1 class="pf-c-title pf-m-3xl">Sing up</h1>
9898 </ div >
9999 </ main >
100100 < footer class ="pf-c-login__footer ">
101- < p > Welcome to Searchpe , the enterprise solution for managing natural and legal entities in your organization .</ p >
101+ < p > Welcome to Ublhub , the enterprise solution for managing SUNAT integration of UBL documents .</ p >
102102 </ footer >
103103 </ div >
104104</ div >
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ quarkus.xbuilder.unidad-medida=NIU
143143quarkus.xbuilder.igv-tasa =0.18
144144quarkus.xbuilder.icb-tasa =0.2
145145
146- # Searchpe
146+ # Ublhub
147147ublhub.disable.authorization =true
148148
149149# Profiles
You can’t perform that action at this time.
0 commit comments