Skip to content

Live deploymentΒ #138

@LucBERTON

Description

@LucBERTON

🎯Main Goal

We need to deploy a production version of the website (and the calculator?)

🌐 Domain name

The domain name is not decided yet.

πŸš€ Provider

We did not identify any host/provider yet.

An host that is commonly used by Data for Good would probably be better

πŸ“ The repository

The branch to be deployed is main.

The repository is organized under two folders:

  • frontend
  • backend

But be careful, the name of the folders are confusing.
The fronted folder refers to the website, but it also has some pages being server-side rendered.
The backend folder refers to the calculator.

The website (frontend folder)

The website is created with React and Next.js :

https://github.com/dataforgoodfr/13_empreinte_souffrance/tree/main/frontend

Since there is some server-side rendering, I assume It cannot be deployed as a static website only.

Here is nextjs docs regarding deployment that may be useful :

I guess that the best way is probably to use Docker to ensure portability between providers.

The calculator part (backend folder)

It's written in Python.
It does not have any specific requirements.
It will be used as a regular web backend (exposing an API and running Python scripts)

https://github.com/dataforgoodfr/13_empreinte_souffrance/tree/main/backend

Database (not yet)

There is no database yet.
I don't think we need to configure one now, but maybe in the future we'll need a database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions