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
Alexander Menshikov 836aa8985e
Use absolute paths for uploads and db (#168)
* Use absolute paths for uploads and db

* Fix name interference

* Add error on auth page

* remove space

* Support of separated upload folder with absolute path

* fix files uploading

* remove log

* fix comment

Co-authored-by: n0str <team@codex.so>
Co-authored-by: Nikita Melnikov <nikmel2803@gmail.com>
2022-04-22 23:28:40 +03:00
.github use codex bot token for creating new release (#162) 2022-04-05 15:10:11 +04:00
config Use absolute paths for uploads and db (#168) 2022-04-22 23:28:40 +03:00
docker First run improvements (improved DX and docs) (#169) 2022-04-12 11:29:25 +04:00
public Docker image optimization (#150) 2022-03-06 13:37:06 +04:00
src Use absolute paths for uploads and db (#168) 2022-04-22 23:28:40 +03:00
.codexdocsrc.sample Updated highlight.js (#131) 2021-07-27 13:30:31 +03:00
.dockerignore Docker image optimization (#150) 2022-03-06 13:37:06 +04: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 Upgrade packages (#149) 2022-03-06 11:38:59 +04:00
.gitignore Docker image optimization (#150) 2022-03-06 13:37:06 +04:00
.nvmrc Typescript rewrite (#147) 2022-03-05 22:57:23 +04:00
.postcssrc Upgrade packages (#149) 2022-03-06 11:38:59 +04:00
docker-compose.yml Use absolute paths for uploads and db (#168) 2022-04-22 23:28:40 +03:00
LICENSE Create LICENSE (#159) 2022-03-25 16:33:41 +04:00
package.json First run improvements (improved DX and docs) (#169) 2022-04-12 11:29:25 +04:00
README.md First run improvements (improved DX and docs) (#169) 2022-04-12 11:29:25 +04:00
tsconfig.json Fix docker image build on apple silicon (#165) 2022-04-06 23:46:59 +04:00
webpack.config.js Upgrade packages (#149) 2022-03-06 11:38:59 +04:00
yarn.lock First run improvements (improved DX and docs) (#169) 2022-04-12 11:29:25 +04:00

CodeX Docs

CodeX Docs is a simple but powerful documentation engine for CodeX powered with Editor.js.

You can use CodeX Docs for product documentation, for internal team docs, or for any other documentation.

Development

Prerequisites

  • NodeJS (v16.x)
  • npx (installed by default with npm)
  • Yarn

Install npm packages

yarn install --frozen-lockfile

Create config file

cp .codexdocsrc.sample .codexdocsrc

Run application (both frontend and backend)

yarn dev

Then you can open browser and navigate to http://localhost:3000.

Now you can authenticate in the application and start creating your documentation.

Available scripts

Start whole application (backend and frontend in watch mode)

yarn dev

Start backend in development mode

yarn start-backend

Compile TypeScript files

yarn compile

Build frontend

To build frontend sources run the following command:

yarn build-frontend

To build frontend and watch for changes run the following command:

yarn build-frontend:dev

Run ESLint with --fix option

yarn lint

Run tests

yarn test

Authentication

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

To set password use yarn generatePassword:ts [password] command and restart the server.

Release process

We use release-drafter to generate release notes and GitHub release. It will automatically generate draft release based pull requests data between current version and previous version. To make new release you need go to releases page find the latest draft release and mark it as ready. After creating new release, new git tag will be created and new version will be published.

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