Нема описа

Olivier Massot e231258bf6 Merge branch 'release/1.0.0b1' пре 4 година
assets 496032d0cb https://assistance.opentalent.fr/browse/V8-2613 пре 4 година
components ae778824be fix map zoom behavior пре 4 година
enums 1054b47e64 structures search - filters ok пре 4 година
lang 594eb71cdd minor style improvements пре 4 година
layouts 594eb71cdd minor style improvements пре 4 година
pages ae778824be fix map zoom behavior пре 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