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

Doc: add documentation for python.json #468

Open
1 task done
xavfernandez opened this issue Dec 11, 2024 · 1 comment
Open
1 task done

Doc: add documentation for python.json #468

xavfernandez opened this issue Dec 11, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@xavfernandez
Copy link

Checking for existing issue

  • I have checked for existing issues

Describe the content you'd like to see

The python.json file is mentionned here: https://developers.clever-cloud.com/guides/python-django-sample/#my-application-already-exists
And existed in a quite old django-example.

But it is unclear if it is still supported and if it is, its format and the allowed keys are also unclear.

@xavfernandez xavfernandez added the documentation Improvements or additions to documentation label Dec 11, 2024
@davlgd
Copy link
Collaborator

davlgd commented Dec 11, 2024

.json deployment files are a legacy tool we don't recommend to use anymore. We still support them for legacy purposes but we're sunsetting them in runtimes.

vincentporte added a commit to gip-inclusion/itou-communaute-django that referenced this issue Dec 17, 2024
…855)

## Description

🦺 mise à jour du lancement du serveur d'application `wsgi` selon les
recommadations du PAAS clevercloud : [CleverCloud Issue
#468](CleverCloud/documentation#468 (comment))

🌮 suppresion du fichier `clevercloud/python.json`

🌮 ajout des variables d'environnement
```
CC_PYTHON_MANAGE_TASKS="migrate --no-input, createcachetable, collectstatic --no-input, compilemessages, compress"
CC_PYTHON_MODULE="config.wsgi:application"
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants