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
Murod Khaydarov d61818761e
Order child pages (#21)
* save ordering pages

* move to another collection

* requested changes. Code improvements

* add margin

* unit tests

* fix

* requested changes

* recursive method: create menu tree

* update comments

* fix bug

* requested changes

* move const

* fix error message on catch

* add migration

* rewrite to splices

* move methods

* testing put above method

* linter fix
2019-01-19 17:09:11 +03:00
bin Move testing to 3001 port (#8) 2018-10-07 19:15:10 +03:00
config Move testing to 3001 port (#8) 2018-10-07 19:15:10 +03:00
public/dist Order child pages (#21) 2019-01-19 17:09:11 +03:00
src Order child pages (#21) 2019-01-19 17:09:11 +03:00
test Order child pages (#21) 2019-01-19 17:09:11 +03:00
.codexdocsrc Move testing to 3001 port (#8) 2018-10-07 19:15:10 +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 Move testing to 3001 port (#8) 2018-10-07 19:15:10 +03:00
.nvmrc Add nvmrc (#2) 2018-09-03 23:05:50 +03:00
package.json Order child pages (#21) 2019-01-19 17:09:11 +03:00
README.md Add nvmrc (#2) 2018-09-03 23:05:50 +03:00
webpack.config.js Code splitting now works through awaited import (#6) 2018-10-03 12:26:41 +03:00
yarn.lock Order child pages (#21) 2019-01-19 17:09:11 +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