No Description

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

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