瀏覽代碼

various fixes

Olivier Massot 2 年之前
父節點
當前提交
273e9b162e
共有 6 個文件被更改,包括 15 次插入9 次删除
  1. 1 1
      .env.test
  2. 0 2
      .npmrc
  3. 9 1
      README.md
  4. 1 1
      components/Layout/Alert/Content.vue
  5. 2 2
      package.json
  6. 2 2
      pages/subscription.vue

+ 1 - 1
.env.test

@@ -32,4 +32,4 @@ NUXT_PUBLIC_BASE_URL_MERCURE=https://mercure.test.opentalent.fr/.well-known/merc
 NUXT_SUPPORT_URL=https://support.opentalent.fr/
 NUXT_PUBLIC_SUPPORT_URL=https://support.opentalent.fr/
 
-MERCURE_SUBSCRIBER_JWT_KEY=yV9fil5nodzRVrHpYrALGofhqiNO2RN3wjMlZnubgscdJ8yQ1BbATxEx6U6XwbRE
+MERCURE_SUBSCRIBER_JWT_KEY=NQEupdREijrfYvCmF2mnvZQFL9zLKDH9RCYter6tUWzjemPqzicffhc2fSf0yEmM

+ 0 - 2
.npmrc

@@ -1,2 +0,0 @@
-shamefully-hoist=true
-strict-peer-dependencies=false

+ 9 - 1
README.md

@@ -63,7 +63,7 @@ Pour déployer le projet en mode SSR, on commence par mettre à jour et compiler
 
     yarn deploy
 
-Cette commande est un alias qui équivaut à lancer:
+Cette commande est un alias qui équivaut à lancer :
 
     git pull
     yarn install
@@ -96,6 +96,14 @@ Pour régénérer la documentation automatique :
 
     yarn docs
 
+### Déboguer en prod ou en test
+
+Sur les environnements où app est servie par supervisor, on peut consulter les logs d'erreur avec :
+
+    sudo supervisorctl tail -6000 app:app_00 stderr
+
+> le `-6000` étant le nombre de bytes à afficher
+> Voir plus : http://supervisord.org/running.html#supervisorctl-command-line-options
 
 ## Plus d'infos
 

+ 1 - 1
components/Layout/Alert/Content.vue

@@ -5,7 +5,7 @@
     v-model="show"
     :type="props.alert.type"
     class="position"
-    border="left"
+    border="start"
     width="400"
     dismissible
     transition="fade-transition"

+ 2 - 2
package.json

@@ -1,5 +1,5 @@
 {
-  "name": "app_v3",
+  "name": "app",
   "private": true,
   "version": "2.3.0",
   "scripts": {
@@ -25,7 +25,7 @@
     "@nuxt/image": "^0.7.1",
     "@nuxt/image-edge": "^1.0.0-27968280.9739e4d",
     "@nuxtjs/i18n": "^8.0.0-beta.10",
-    "@pinia-orm/nuxt": "^1.1.7",
+    "@pinia-orm/nuxt": "^1.6.7",
     "@pinia/nuxt": "0.4.7",
     "@types/file-saver": "^2.0.5",
     "@types/js-yaml": "^4.0.5",

+ 2 - 2
pages/subscription.vue

@@ -87,7 +87,7 @@ Page 'Mon abonnement'
           <v-container id="products-section" fluid class="container">
             <v-row>
               <!-- Opentalent Artist Premium -->
-              <v-col v-if="1 || organizationProfile.isArtistProduct" cols="3">
+              <v-col v-if="organizationProfile.isArtistProduct" cols="3">
                 <v-row>
                   {{ $t('PRODUCT_ARTIST_PREMIUM') }}
                 </v-row>
@@ -140,7 +140,7 @@ Page 'Mon abonnement'
               </v-col>
 
               <!-- Opentalent School Premium -->
-              <v-col v-if="1 || organizationProfile.isArtist" cols="3">
+              <v-col v-if="organizationProfile.isArtist" cols="3">
                 <v-row>
                   {{ $t('PRODUCT_SCHOOL') }}
                 </v-row>