بدون توضیح

Olivier Massot 59bcc0ee54 displays dates and locations for events; various fixes 3 سال پیش
assets 496032d0cb https://assistance.opentalent.fr/browse/V8-2613 4 سال پیش
components 3c73e90b16 finalize data provider and filters for public events 3 سال پیش
doc 8ebffc98f9 add include docs, minor ui improvement 4 سال پیش
enums 1054b47e64 structures search - filters ok 4 سال پیش
lang f26c089f08 add the events index page 3 سال پیش
layouts 594eb71cdd minor style improvements 4 سال پیش
pages 59bcc0ee54 displays dates and locations for events; various fixes 3 سال پیش
plugins b83202bd3b v8-2863 various fixes 4 سال پیش
services 59bcc0ee54 displays dates and locations for events; various fixes 3 سال پیش
static c4662304b5 include .htaccess into build 4 سال پیش
tests e57ef23d75 cypress: increase location filter timeout 4 سال پیش
types 3c73e90b16 finalize data provider and filters for public events 3 سال پیش
.babelrc aadb3aaa64 nuxt init 4 سال پیش
.editorconfig aadb3aaa64 nuxt init 4 سال پیش
.env.ci 815ed0caee plug structures pages on ap2i 3 سال پیش
.env.local 815ed0caee plug structures pages on ap2i 3 سال پیش
.env.preprod 815ed0caee plug structures pages on ap2i 3 سال پیش
.env.prod 815ed0caee plug structures pages on ap2i 3 سال پیش
.eslintrc.js aadb3aaa64 nuxt init 4 سال پیش
.gitignore 5838dcaec0 cypress tests on /structures ok 4 سال پیش
.gitlab-ci.yml bcc655e319 mv test into tests, add test-utils, configure jest 4 سال پیش
README.md f26c089f08 add the events index page 3 سال پیش
cypress.json bcc655e319 mv test into tests, add test-utils, configure jest 4 سال پیش
ecosystem.config.js e3af5bcf9d update start / build / deploiement configs 4 سال پیش
jest.config.js c12c73b678 finalize jest setup and config 4 سال پیش
logo.png a6ac6d668a structures: performances optimization 4 سال پیش
nuxt.config.js f26c089f08 add the events index page 3 سال پیش
package-lock.json 4265cf4b4c add iframeResizer.js 4 سال پیش
package.json f26c089f08 add the events index page 3 سال پیش
tsconfig.json f26c089f08 add the events index page 3 سال پیش
yarn.lock c12c73b678 finalize jest setup and config 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, créer 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>

Revenir à une version précédente

Pour revenir à une version précédente:

git reset --hard <id du commit>
yarn build

**/!\ Non testé : ** Si la version précédente implique des versions différentes des node_modules, il faudra sans doute supprimer le répertoire node_modules et le fichier yarn.lock, et relancer un yarn install

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