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
Nikita Melnikov 34514761f5
Typescript rewrite (#147)
* Updated highlight.js

* Update .codexdocsrc.sample

remove undefined page for a fresh new install

* backend rewritten in TS

* test -> TS, .added dockerignore, bug fixed

* Removed compiled js files, eslint codex/ts added

* fixed jsdocs warning, leaving editor confirmation

* use path.resolve for DB paths

* db drives updated + fixed User model

* redundant cleared + style fixed

* explicit type fixing

* fixing testing code

* added body block type

* compiled JS files -> dist, fixed compiling errors

* fixed compiling error, re-organized ts source code

* updated Dockerfile

* fixed link to parent page

* up nodejs version

* fix package name

* fix deps

Co-authored-by: nvc8996 <nvc.8996@gmail.com>
Co-authored-by: Taly <vitalik7tv@yandex.ru>
2022-03-05 22:57:23 +04:00
.github/workflows add docker config and CI config (#109) 2020-11-23 14:09:33 +03:00
config Typescript rewrite (#147) 2022-03-05 22:57:23 +04:00
docker Typescript rewrite (#147) 2022-03-05 22:57:23 +04:00
public chore(editor): update editor, add embed tool (#142) 2021-12-01 19:56:12 +03:00
src Typescript rewrite (#147) 2022-03-05 22:57:23 +04:00
.codexdocsrc.sample Updated highlight.js (#131) 2021-07-27 13:30:31 +03:00
.dockerignore update bcrypt and fix docker configs (#136) 2021-08-28 11:12:45 +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 Typescript rewrite (#147) 2022-03-05 22:57:23 +04:00
.gitignore Typescript rewrite (#147) 2022-03-05 22:57:23 +04:00
.nvmrc Typescript rewrite (#147) 2022-03-05 22:57:23 +04:00
docker-compose.yml update bcrypt and fix docker configs (#136) 2021-08-28 11:12:45 +03:00
nodemon.json Typescript rewrite (#147) 2022-03-05 22:57:23 +04:00
package.json Typescript rewrite (#147) 2022-03-05 22:57:23 +04:00
README.md Typescript rewrite (#147) 2022-03-05 22:57:23 +04:00
tsconfig.json Typescript rewrite (#147) 2022-03-05 22:57:23 +04:00
webpack.config.js Update Editor and Tools (#56) 2019-03-08 15:38:22 +03:00
yarn.lock Typescript rewrite (#147) 2022-03-05 22:57:23 +04:00

CodeX Docs

Engine for documentation website using Editor.js

Development

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

Compile to Javascript

$ yarn compile

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.

About CodeX

CodeX is a team of digital specialists around the world interested in building high-quality open source products on a global market. We are open for young people who want to constantly improve their skills and grow professionally with experiments in cutting-edge technologies.

🌐 Join 👋 Twitter Instagram
codex.so codex.so/join @codex_team @codex_team