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

Déploiement du client #46

Closed
2 tasks
florimondmanca opened this issue Jan 31, 2022 · 0 comments · Fixed by #48
Closed
2 tasks

Déploiement du client #46

florimondmanca opened this issue Jan 31, 2022 · 0 comments · Fixed by #48
Labels
infra Ce qui attrait aux environnements de déploiement et à l'infrastructure Cloud

Comments

@florimondmanca
Copy link
Collaborator

florimondmanca commented Jan 31, 2022

Suite à #37 (bootstrapping du client) et #25 (déploiement de dev),

Il faut intégrer le nouveau client (app web Svelte / SvelteKit) au setup de déploiement du dossier ops/.

Quelques indices ici : #36 (comment)

Je ne sais pas encore comment on va le déployer en prod. J'imagine qu'on a deux solutions :

  • le même nom de domaine (et même port) : configuration du NGINX en frontal pour que toute requête sur / redirige vers serveur node, et tout ce qui tape sur /api redirige vers le serveur fastapi
  • un nom de domaine différent : dans ce cas il faudra qu'on rajoute ce nom de domaine à la liste des `origins
    On ne peut pas avoir de wildcard CORS quand on veut faire de l'auth, c'est une mesure de sécurité. Il faut donc qu'on ai les noms de domaines complets (et donc y compris le port, à ma connaissance).

Implémentation

@florimondmanca florimondmanca added the infra Ce qui attrait aux environnements de déploiement et à l'infrastructure Cloud label Jan 31, 2022
@florimondmanca florimondmanca moved this from Backlog to Tâches à faire in Outil de catalogage de données Feb 1, 2022
@florimondmanca florimondmanca moved this from Tâches à faire to Tâches en cours in Outil de catalogage de données Feb 2, 2022
@florimondmanca florimondmanca moved this from Tâches en cours to Backlog in Outil de catalogage de données Feb 2, 2022
@florimondmanca florimondmanca moved this from Backlog to Tâches à faire in Outil de catalogage de données Feb 2, 2022
@florimondmanca florimondmanca moved this from Tâches à faire to Tâches en cours in Outil de catalogage de données Feb 2, 2022
Outil de catalogage de données automation moved this from Tâches en cours to Terminé Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Ce qui attrait aux environnements de déploiement et à l'infrastructure Cloud
Development

Successfully merging a pull request may close this issue.

1 participant