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
* Implement default redirect * Move startPage configuration to env * Remove console.log Change development config back to master * remove global middleware |
||
---|---|---|
bin | ||
config | ||
public | ||
src | ||
test | ||
.codexdocsrc.sample | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc | ||
.gitignore | ||
.nvmrc | ||
generatePassword.js | ||
nodemon.json | ||
package.json | ||
README.md | ||
webpack.config.js | ||
yarn.lock |
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.