Няма описание

Olivier Massot f053491d31 Merge branch 'release/1.0.0b2' преди 4 години
assets 496032d0cb https://assistance.opentalent.fr/browse/V8-2613 преди 4 години
components ae778824be fix map zoom behavior преди 4 години
doc 8ebffc98f9 add include docs, minor ui improvement преди 4 години
enums 1054b47e64 structures search - filters ok преди 4 години
lang 594eb71cdd minor style improvements преди 4 години
layouts 594eb71cdd minor style improvements преди 4 години
pages 8ebffc98f9 add include docs, minor ui improvement преди 4 години
plugins 4265cf4b4c add iframeResizer.js преди 4 години
services 52f746667d add url parameters, disable SSR, include new structure data преди 4 години
static 8e062e5dc1 graphic improvements and routing fixes преди 4 години
store aadb3aaa64 nuxt init преди 4 години
test 5d3ec5f385 fix cypress tests преди 4 години
types 52f746667d add url parameters, disable SSR, include new structure data преди 4 години
.babelrc aadb3aaa64 nuxt init преди 4 години
.editorconfig aadb3aaa64 nuxt init преди 4 години
.env.ci 9383fb5a54 update .env files преди 4 години
.env.local 9383fb5a54 update .env files преди 4 години
.env.preprod 9383fb5a54 update .env files преди 4 години
.env.prod 9383fb5a54 update .env files преди 4 години
.eslintrc.js aadb3aaa64 nuxt init преди 4 години
.gitignore 5838dcaec0 cypress tests on /structures ok преди 4 години
.gitlab-ci.yml e3af5bcf9d update start / build / deploiement configs преди 4 години
README.md 2bf8af99af update readme преди 4 години
cypress.json f6dab45993 fix CI преди 4 години
ecosystem.config.js e3af5bcf9d update start / build / deploiement configs преди 4 години
jest.config.js f02ca7420f minor fixes and tests skeletton преди 4 години
logo.png a6ac6d668a structures: performances optimization преди 4 години
nuxt.config.js 4265cf4b4c add iframeResizer.js преди 4 години
package-lock.json 4265cf4b4c add iframeResizer.js преди 4 години
package.json 4265cf4b4c add iframeResizer.js преди 4 години
todo.md fde6059a4d style improvements преди 4 години
tsconfig.json 0eee2f60ce refactor fetchers into a provider service преди 4 години
yarn.lock 4265cf4b4c add iframeResizer.js преди 4 години

README.md

Frames

pipeline status

Frames est une application Nuxt proposant des iframes à inclure sur des sites tierces.

Iframes implémentées:

A voir:

Opérations courantes

Déploiement

Si le fichier .env n'existe pas, on créé un symlink vers le .env.xxx voulu sous le nom de .env (selon l'environnement)

ln -s .env.xxx .env

Le projet frames n'utilisant pas le SSR, on n'a pas besoin de PM2 pour faire tourner un service. On lance la commande:

yarn deploy

Cette commande est un alias qui équivaut à lancer les commandes suivantes: git pull && yarn install && yarn build

S'il n'existe pas encore, il faut aussi créer un fichier dist/.htaccess contenant les lignes suivantes:

<ifModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule (.*) index.html [QSA,L]
</ifModule>

Run tests

To run unit tests:

yarn test

To run end-to-end tests with Cypress:

yarn cypress

To run it in command line:

yarn cypress:run