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
Taly 94a9a963ff
Set auth cookie lifetime (#102)
* Set auth cookie lifetime

* Small fixes

- upgrade editor and tools
- add link tool
- move "save" button and "uri" field

* Update twig.js

* move to deps
2020-07-27 20:42:37 +03:00
bin Move testing to 3001 port (#8) 2018-10-07 19:15:10 +03:00
config Transport controller and file model (#42) 2019-03-11 18:44:00 +03:00
public Set auth cookie lifetime (#102) 2020-07-27 20:42:37 +03:00
src Set auth cookie lifetime (#102) 2020-07-27 20:42:37 +03:00
test Transport controller and file model (#42) 2019-03-11 18:44:00 +03:00
.codexdocsrc.sample Implement default redirect (#99) 2020-05-09 14:17:29 +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 Transport controller and file model (#42) 2019-03-11 18:44:00 +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 Set auth cookie lifetime (#102) 2020-07-27 20:42:37 +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 Set auth cookie lifetime (#102) 2020-07-27 20:42:37 +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.