Нет описания

Olivier Massot d86da406a8 add pm2 configuration 4 лет назад
.output fbcd6d052d BTTF-51 4 лет назад
assets 82bb7d3145 Merge branch 'feature/BTTF-20' into develop 4 лет назад
components 27cc1c141a BTTF-65 4 лет назад
config fbcd6d052d BTTF-51 4 лет назад
lang 27cc1c141a BTTF-65 4 лет назад
layouts fbcd6d052d BTTF-51 4 лет назад
middleware 73aef4ad10 post reread fixes 4 лет назад
models 82bb7d3145 Merge branch 'feature/BTTF-20' into develop 4 лет назад
pages 8c5ff46645 fix après merge 4 лет назад
plugins 1f5a51e233 contact points: implements validation, create email and phone input 4 лет назад
services 27cc1c141a BTTF-65 4 лет назад
static 1e72fc2bce page subscription ok 4 лет назад
store 27cc1c141a BTTF-65 4 лет назад
tests 432d5dca46 BTTF-51 test 4 лет назад
types 27cc1c141a BTTF-65 4 лет назад
use 27cc1c141a BTTF-65 4 лет назад
.babelrc b9a8ff33d0 Initial commit 5 лет назад
.editorconfig b9a8ff33d0 Initial commit 5 лет назад
.eslintrc.js c163521422 vuex-orm poc init 5 лет назад
.gitignore 432d5dca46 BTTF-51 test 4 лет назад
.gitlab-ci.yml 7534d861d9 lint and minor refactoring 4 лет назад
README.md d86da406a8 add pm2 configuration 4 лет назад
ecosystem.config.js d86da406a8 add pm2 configuration 4 лет назад
jest.config.js 6034fff251 BTTF-58 4 лет назад
jsdoc.json 3144f4862a config + rights + docs + tests + i18n 4 лет назад
nuxt.config.js 7cd5f3e733 apply eslint format fixes 4 лет назад
package.json 1c67af0c68 Merge branch 'develop' of git@gitlab.2iopenservice.com:vincent/admin.git 4 лет назад
tsconfig.json d84b358606 add module nuxt-image 4 лет назад
yarn.lock 8c5ff46645 fix après merge 4 лет назад

README.md

admin

pipeline status coverage report

Frontend Opentalent développé avec Vue.js 2 + NuxtJs 2

A voir:

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

# generate doc
$ yarn docs

For detailed explanation on how things work, check out Nuxt.js docs.

Déployer comme un service

Prérequis : PM2 doit être installé de manière globale (https://nuxtjs.org/deployments/pm2/)

Pour déployer le projet en mode SSR :

yarn build
pm2 start

Vérifier le statut avec :

pm2 show app

On pourra ensuite interagir avec le service ainsi :

pm2 restart app
pm2 stop app
pm2 logs app

Structure du projet

Répertoire Rôle
assets Contient les fichiers style et medias
components Les différents composants graphiques qui composent l'application
config La configuration de l'application
lang Les fichiers de traduction
layouts Layouts des pages
middleware Code exécuté avant le rendu des pages (ex: pour vérifier l'authentification)
models Définition des entités (ou modèles)
node_modules Modules node installés via npm
pages Définition des pages qui composent l'application
plugins ...
services Rassemble les classes utilitaires non graphiques
static Ressources statiques et publiques
store Le store et ses composants servent d'entrepôt de donnés, et s'assurent de la cohérence de celles-ci
tests Regroupe les tests (unitaires, end-to-end...)
use ...