Skip to content

Commit

Permalink
Merge pull request #4173 from betagouv/remove-vue3-build
Browse files Browse the repository at this point in the history
Temp : ne pas deployer Vue3
  • Loading branch information
hfroot authored Jul 23, 2024
2 parents e1c3cfe + e7fbbbd commit dc54eea
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
24 changes: 24 additions & 0 deletions 2024-frontend/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"@s:ckeditor_uploader/*": [
"./../venv/lib/python3.10/site-packages/ckeditor_uploader/static/ckeditor_uploader/*"
],
"@s:cms/*": [
"./../cms/static/cms/*"
],
"@s:common/*": [
"./../common/static/common/*"
],
Expand All @@ -34,6 +37,9 @@
"@s:magicauth/*": [
"./../venv/lib/python3.10/site-packages/magicauth/static/magicauth/*"
],
"@s:modelcluster/*": [
"./../venv/lib/python3.10/site-packages/modelcluster/static/modelcluster/*"
],
"@s:oauth2_provider/*": [
"./../venv/lib/python3.10/site-packages/oauth2_provider/static/oauth2_provider/*"
],
Expand All @@ -43,6 +49,12 @@
"@s:simple_history/*": [
"./../venv/lib/python3.10/site-packages/simple_history/static/simple_history/*"
],
"@s:taggit/*": [
"./../venv/lib/python3.10/site-packages/taggit/static/taggit/*"
],
"@s:wagtail/*": [
"./../venv/lib/python3.10/site-packages/wagtail/static/wagtail/*"
],
"@s:web/*": [
"./../web/static/web/*"
],
Expand All @@ -58,6 +70,9 @@
"@t:ckeditor_uploader/*": [
"./../venv/lib/python3.10/site-packages/ckeditor_uploader/templates/ckeditor_uploader/*"
],
"@t:cms/*": [
"./../cms/templates/cms/*"
],
"@t:common/*": [
"./../common/templates/common/*"
],
Expand All @@ -79,6 +94,9 @@
"@t:magicauth/*": [
"./../venv/lib/python3.10/site-packages/magicauth/templates/magicauth/*"
],
"@t:modelcluster/*": [
"./../venv/lib/python3.10/site-packages/modelcluster/templates/modelcluster/*"
],
"@t:oauth2_provider/*": [
"./../venv/lib/python3.10/site-packages/oauth2_provider/templates/oauth2_provider/*"
],
Expand All @@ -88,6 +106,12 @@
"@t:simple_history/*": [
"./../venv/lib/python3.10/site-packages/simple_history/templates/simple_history/*"
],
"@t:taggit/*": [
"./../venv/lib/python3.10/site-packages/taggit/templates/taggit/*"
],
"@t:wagtail/*": [
"./../venv/lib/python3.10/site-packages/wagtail/templates/wagtail/*"
],
"@t:web/*": [
"./../web/templates/web/*"
],
Expand Down
2 changes: 0 additions & 2 deletions clevercloud/python.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
"managetasks": [
"buildnpm",
"collectstatic --noinput",
"buildnpmvue3",
"collectstatic --noinput",
"migrate --noinput",
"compilemessages"
]
Expand Down
File renamed without changes.
4 changes: 3 additions & 1 deletion docs/ONBOARDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@ DEBUG_FRONT=False
```

Dans le dossier principal, lancez :
`bash ./clevercloud/test-build.sh`
`bash ./clevercloud/test-build-with-vue3.sh`
`python manage.py runserver --insecure`

En prod, faut ajouter `CC_PRE_BUILD_HOOK=./clevercloud/pre-build-hook.sh`

À noter qu'à ce moment, Vue 3 ne peut pas être deployer en prod car il y a un bug avec le django-vite-plugin.

0 comments on commit dc54eea

Please sign in to comment.