Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errore python3 manage.py #299

Closed
ErikScandola opened this issue Dec 19, 2023 · 1 comment
Closed

Errore python3 manage.py #299

ErikScandola opened this issue Dec 19, 2023 · 1 comment
Labels
question Further information is requested wontfix This will not be worked on

Comments

@ErikScandola
Copy link

Seguendo la guida presente a questo link https://github.com/italia/spid-cie-oidc-aspnetcore/blob/main/SAMPLE.md, sto provando ad avviare il docker per creare un ambiente di test. Avviandolo c'è un primo problema, ossia il comando di copy nel Dockerfile:
COPY ["Spid.Cie.OIDC.AspNetCore/Spid.Cie.OIDC.AspNetCore.csproj", "Spid.Cie.OIDC.AspNetCore/"]

Questo l'ho risolto copiando il progetto presente in src all'interno della cartella samples/1_SimpleSPWebApp. A questo punto il comando docker-compose up fa il suo lavoro ma, solamente il container spid-cie-oidc-django-main-aspnetcore.relying-party.org-1 riesce a rimanere attivo mentre gli altri quattro si spengono subito. L'errore che trovo in console è il seguente:
python3: can't open file '/django-project/manage.py': [Errno 2] No such file or directory

L'errore è legato ai container spid-cie-oidc-django-main-wallet.trust-anchor.org-1, spid-cie-oidc-django-main-relying-party.org-1 e spid-cie-oidc-django-main-cie-provider.org-1. Per spid-cie-oidc-django-main-trust-anchor.org-1 non ho informazioni relative ad errori. Forse questo si deve chiudere e basta? Forse si chiude perché cadono gli altri tre?

@peppelinux
Copy link
Member

l'errore è python3: can't open file '/django-project/manage.py': [Errno 2] No such file or directory

ti consiglio di avviare il compose di django oidc django eppoi configurare il RP aspnetcore separatamente oppure aprire la issue sul repo aspnetcore

@peppelinux peppelinux added question Further information is requested wontfix This will not be worked on labels Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants