설명 없음

Olivier Massot 226474284a Merge branch 'feature/events-page' into develop 3 년 전
assets 496032d0cb https://assistance.opentalent.fr/browse/V8-2613 4 년 전
components 95e360ea34 refactor date functions 3 년 전
doc 06076c7f8a update doc 3 년 전
enums 1054b47e64 structures search - filters ok 4 년 전
lang 08e589ec0c add event page 3 년 전
layouts 594eb71cdd minor style improvements 4 년 전
pages 27924da3e4 various fixes 3 년 전
plugins b83202bd3b v8-2863 various fixes 4 년 전
services 27924da3e4 various fixes 3 년 전
static e0649d8fde various style improvements 3 년 전
tests e57ef23d75 cypress: increase location filter timeout 4 년 전
types 27924da3e4 various fixes 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 f0f94a5207 ignore lock files 3 년 전
.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 08e589ec0c add event page 3 년 전
package-lock.json 4265cf4b4c add iframeResizer.js 4 년 전
package.json 08e589ec0c add event page 3 년 전
tsconfig.json 0e579f82d0 events - add location filter and date formatting 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