1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-18 20:59:42 +02:00
Application de documentation gratuite, basé sur l'écosystème Editor.js offrant toutes les opportunités modernes pour travailler avec du contenu. https://codex.so
Find a file
2019-03-11 16:13:57 +03:00
bin Move testing to 3001 port (#8) 2018-10-07 19:15:10 +03:00
config Authentication (#22) 2019-03-06 13:22:57 +03:00
public/dist Add template for Delimiter Block (#61) 2019-03-11 16:13:57 +03:00
src Add template for Delimiter Block (#61) 2019-03-11 16:13:57 +03:00
test Authentication (#22) 2019-03-06 13:22:57 +03:00
.codexdocsrc.sample Landing + mobile adoptation (#38) 2019-02-15 17:56:56 +03:00
.editorconfig Page model (#1) 2018-08-17 13:58:44 +03:00
.eslintignore Frontent build system is ready (#3) 2018-09-07 19:24:09 +03:00
.eslintrc Babel eslint parser (#9) 2018-10-07 19:25:12 +03:00
.gitignore Update .gitignore (#43) 2019-02-15 18:13:01 +03:00
.nvmrc Add nvmrc (#2) 2018-09-03 23:05:50 +03:00
generatePassword.js Authentication (#22) 2019-03-06 13:22:57 +03:00
nodemon.json Create nodemon.json (#26) 2019-01-25 00:31:49 +03:00
package.json Update Editor and Tools (#56) 2019-03-08 15:38:22 +03:00
README.md Authentication (#22) 2019-03-06 13:22:57 +03:00
webpack.config.js Update Editor and Tools (#56) 2019-03-08 15:38:22 +03:00
yarn.lock Update Editor and Tools (#56) 2019-03-08 15:38:22 +03:00

Set up the environment

Install node version manager and required version of node js

$ chmod u+x ./bin/nvm.sh && ./bin/nvm.sh
$ nvm install

For windows use nvm for windows

Install Yarn package manager

$ brew install yarn --without-node

Use --without-node flag because nvm version of Node is used

Or download it directly from the website

Install npm packages

$ yarn install --frozen-lockfile

Available scripts

Start the server

$ yarn start

Run ESLint with --fix option

$ yarn lint

Run tests

$ yarn test

Authentication

To manage pages you need to authorize (available on /auth).

To generate password use yarn generatePassword [password] command.