Comments (32)
@ZeldOcarina @sargonauta Avete visto questo repository: https://github.com/fake-dgc/fake-dgc.github.io Hanno assemblato le due parti (FE e BE). Ovviamente la parte di firma del GP è fatta con una chiave non valida. Però il sistema nel suo complesso gira correttamente. E lo si può testare qui: https://fake-dgc.github.io/
from dgca-issuance-web.
Me too 👎
Even trying npm doesn't work
from dgca-issuance-web.
With vers:1.1.1
from dgca-issuance-web.
After 'yarn start' a "compiled succesfully!" is stated. The web browser (http://localhost:3000/) in the page bar shows the tab with the little blu QRCode and "DGC Issuance Web" string but then it remains pending with a circle sign that keeps spinning and doesn't go forward. Please any idea about the possible cause for this behaviour ? Thank You
Me the installation was done successfully with the 2 methods but when I arrive on the URL, it asks me for a login and a password, I made a question for that but no answer.
from dgca-issuance-web.
same here. I even tried install whole ecosystem with docker-compose. still stuck at circle.
from dgca-issuance-web.
Same issue here, I tried yarn and npm.
from dgca-issuance-web.
Me too, can the dev please give an answer on this?
from dgca-issuance-web.
Me too... there is a solution?
from dgca-issuance-web.
I am trying to orchestrate the Docker instance but I think it should be documented, right now it's a sail in the blue..
from dgca-issuance-web.
Hi ,
Any solution for this issue?
Best regards
Andrea
from dgca-issuance-web.
from dgca-issuance-web.
guys are you using all of us chrome?
from dgca-issuance-web.
guys are you using all of us chrome?
I tried Firefox, Safari and Chrome.
However, with v1.1.1 I get rid of that circle but same as someone in previous messages I have an error message on forms.
from dgca-issuance-web.
I have no errors, but the circle isn't stopping.
Any suggestions?
from dgca-issuance-web.
Try to put
"start": "react-scripts --max-http-header-size 120000 start",
in the package.json file.
from dgca-issuance-web.
i tried "start": "react-scripts --max-http-header-size 120000 start", but still not working
from dgca-issuance-web.
same
from dgca-issuance-web.
with firefox this error
from dgca-issuance-web.
I tried building the docker image and running it too but it says an env is missing. I tried adding that manually too but same error.
from dgca-issuance-web.
I am so sad.. I wanna try it for my priends.. but it is not working
from dgca-issuance-web.
Same problem.
from dgca-issuance-web.
Everyone can ofcourse fill out some simple commands to install an application...
It's easy to fix with some knowledge of React... See: https://create-react-app.dev/docs/proxying-api-requests-in-development/
The webserver is trying to communicate to: "/dgca-businessrule-service" on localhost which doesn't exists. So you need to proxy all the /dgca-businessrule-service to the correct target. For example your own API webserver.
See: https://github.com/eu-digital-green-certificates/dgca-businessrule-service..
from dgca-issuance-web.
@DenzLoader "your own webserver" doesn't host this api you are talking about so a correct api should be provided by the author of the repo or at least specify where to find that. Right now it doesn't make sense...
from dgca-issuance-web.
@ZeldOcarina please do research before commeting. The author isn't required to list a public DGCA business rules service, this will expose a server for no reason. The test environment also has been shut down because there was too much data. eu-digital-green-certificates/dgca-businessrule-service#37
There is a reason why the src/setupProxy.js is excluded (See gitignore..).
The github repo in my previous comment contains the official DGCA business rules service, so you can host your own endpoint. Or ofcourse proxy an existing DGCA service..
from dgca-issuance-web.
Thank you. Can you please update the Readme file with this?
from dgca-issuance-web.
@ZeldOcarina ma te sei riuscito a farlo andare?
from dgca-issuance-web.
@sargonauta no credo manchi l'API a cui deve connettersi. Non è proprio documentata e anche costruendo la Docker image manca proprio l'env del backend. Non so bene perché l'abbiano tenuto open source. Ammasso di codice al servizio della peggiore invenzione della storia moderna. Un repo del genere andrebbe rimosso.
from dgca-issuance-web.
@GinCam Grazie molto interessante, almeno si capisce come dovrebbe funzionare questo repo!
from dgca-issuance-web.
@ZeldOcarina @sargonauta Avete visto questo repository: https://github.com/fake-dgc/fake-dgc.github.io Hanno assemblato le due parti (FE e BE). Ovviamente la parte di firma del GP è fatta con una chiave non valida. Però il sistema nel suo complesso gira correttamente. E lo si può testare qui: https://fake-dgc.github.io/
ma se le chiavi non sono valide a che serve?
from dgca-issuance-web.
Sì infatti..
from dgca-issuance-web.
from dgca-issuance-web.
io ci sono riuscito e fatto, vi spiego il passaggio
vi scaricate la versione 1.0.10
poi aprite il pompt dei comandi
entrate nella cartella del progetto
cd <nome-progetto>
una volta dentro , assicuratevi di avere Docker installato, altrimenti scaricatelo
una volta installato docker il passaggio successivo sarà quello di creare VM con docker
quindi digiterete questo:
docker-compose up -d
aspettate un pò perché vi dovrà scaricare tutta la roba sul container virtuale che vi creerà.
una volta fatto questo aprite la dashaboard di docker e andate su Containers/APP
lì troverete un contenitore chiamato dgca-issuance-web-1010
se siete arrivati fin qui ... bene! siamo a metà strada.
se cliccate sul contenitore vi si aprira una lista di sub contenitori .
e ci concentreremo su dgca-issuance-web e vedrete delle icone, premete sull'icona >_ , vi si aprirà il terminale.
se provate ad accedere su localhost:8080 vi renderete conto che non vi fa entrare perché vi chiederà una password.
che faremo noi? beh, creeremo un nuovo utente quindi nel terminale che vi si è aperto in precedenza cliccando su >_ dobbiamo installare questo apache2-utils e lo installeremo con i comandi di linux, in questo modo :
apt-get install apache2-utils
molto bene!
ora basterà creare un utente nostro .
sul terminale scrivete questo :
htpasswd -c /etc/nginx/.htpasswd nome-utente
ovviamente il nome-utente va sostituito con quello che voi volete , ok ?
una volta fatto partire il comando vi chiederà di inserire una password, e vi richiederà di inserirla nuovamente.
fatto ciò , ragazzi è fatta! potete accedere a localhost:8080 e inserirete i vostri dati utente come le avete creati , accedete e il piatto è pronto, purtroppo il codice qr non è valido , qualcuno ha delle idee?
from dgca-issuance-web.
Related Issues (20)
- Proxy error HOT 7
- errore 500 HOT 1
- errore pdf-generater.component.tsx HOT 7
- Qualcuno è riuscito ad emettere un certificato funzionante? HOT 21
- Help HOT 1
- installazione pacchetti HOT 2
- Error 500 HOT 5
- > > Io ho installato sia su linux che su debian. Stessi comandi. HOT 6
- An error occured: Request failed with status code 500
- How to remove?
- costica gica
- Failed to compile HOT 8
- problem solved but... HOT 3
- Loop HOT 6
- Line 0: Parsing error: Cannot read properties of undefined (reading 'map')
- ECONNREFUSED
- Installation HOT 3
- LOOP HOT 1
- Field "birth day" (required field) is not checked HOT 5
- Web no work on safari browser
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dgca-issuance-web.