2021-07-23 18:25:54 +03:00
# CodeX Docs
2022-09-14 15:58:05 +03:00
[CodeX Docs ](https://docs.codex.so/ ) is a free docs application. It's based on Editor.js ecosystem which gives all modern opportunities for working with content.
2022-04-12 11:29:25 +04:00
2022-09-14 15:58:05 +03:00
You can use it for product documentation, for internal team docs, for personal notes or any other need.
2021-07-23 18:25:54 +03:00
2022-09-14 15:58:05 +03:00

2021-07-23 18:25:54 +03:00
2022-09-14 15:58:05 +03:00
It's super easy to install and use.
2021-07-23 18:25:54 +03:00
2022-09-14 15:58:05 +03:00
## Features
2018-09-03 23:05:50 +03:00
2022-09-15 16:05:30 -05:00
- 🤩 [Editor.js ](https://editorjs.io/ ) ecosystem powered
2022-09-14 15:58:05 +03:00
- 📂 Docs nesting — create any structure you need
- 📱 Nice look on Desktop and Mobile
- 🔥 Beautiful page URLs. Human-readable and SEO-friendly.
- 🦅 [Hawk ](https://hawk.so/?from=docs-demo ) is hunting. Errors tracking integrated
- 💌 [Misprints ](https://github.com/codex-team/codex.misprints ) reports to the Telegram / Slack
- 📈 [Yandex Metrica ](https://metrica.yandex.com/about ) integrated
- 🚢 Deploy easily — no DB and other deps required
2022-09-14 17:43:46 +03:00
- 🤙 Simple configuration
2022-09-14 15:58:05 +03:00
- ⚙️ Tune UI as you need. Collapse sections, hide the Sidebar
2021-07-23 18:25:54 +03:00
2022-09-14 15:58:05 +03:00
## Demo
2022-04-12 11:29:25 +04:00
2022-09-14 15:58:05 +03:00
Here is our [Demo Application ](https://docs-demo.codex.so/ ) where you can try CodeX Docs in action.
2018-09-03 23:05:50 +03:00
2022-09-14 15:58:05 +03:00
## Guides
2018-09-03 23:05:50 +03:00
2022-09-14 17:43:46 +03:00
1. [Getting Started ](https://docs.codex.so/getting-started )
2022-09-14 15:58:05 +03:00
2. [Configuration ](https://docs.codex.so/configuration )
2022-09-14 17:43:46 +03:00
3. [Deployment ](https://docs.codex.so/deployment )
2022-09-14 15:58:05 +03:00
4. [Authentication ](https://docs.codex.so/authentication )
5. [Writing ](https://docs.codex.so/writing )
6. [How to enable analytics ](https://docs.codex.so/yandex-metrica )
7. [Contribution guide ](https://docs.codex.so/contribution )
2022-04-12 11:29:25 +04:00
2022-09-14 15:58:05 +03:00
## Getting Started
2018-09-03 23:05:50 +03:00
2022-09-14 15:58:05 +03:00
### 1. Clone the repo.
2022-04-12 11:29:25 +04:00
```shell
2022-09-14 17:43:46 +03:00
git clone https://github.com/codex-team/codex.docs
2022-03-05 22:57:23 +04:00
```
2022-04-12 11:29:25 +04:00
2022-09-14 15:58:05 +03:00
### 2. Fill the config
2022-04-12 11:29:25 +04:00
2022-09-14 15:58:05 +03:00
Read about available [configuration ](https://docs.codex.so/configuration ) options.
2018-09-03 23:05:50 +03:00
2022-09-14 15:58:05 +03:00
### 3. Run the application
2022-04-12 11:29:25 +04:00
2022-09-14 15:58:05 +03:00
#### Using Yarn
2018-09-03 23:05:50 +03:00
2022-04-12 11:29:25 +04:00
```shell
2022-09-14 15:58:05 +03:00
yarn & & yarn start
2018-09-03 23:05:50 +03:00
```
2022-04-12 11:29:25 +04:00
2022-09-14 15:58:05 +03:00
#### Using Docker
2022-04-12 11:29:25 +04:00
2018-09-03 23:05:50 +03:00
```
2022-09-14 15:58:05 +03:00
docker-compose build
docker-compose up
2018-09-03 23:05:50 +03:00
```
Authentication (#22)
* Authorization added
* added secret to password, md5 hashing, removed promise from verifyToken, deleted links when not authorized
* added dbinsert script
* turned verifyToken to middleware, added description for dbinsert, added hidden csrf field in auth form
* added middlewares, user model and controller
* JSDoc fix
* wrong password processing fix
* added comments to dbinsert script, moved salt and passHash to singe db doc
* Moved salt to .env, upgradedscript for generating password was, fixed comments and JSDoc
* Deleted using salt (now user is only one), changed verifying password to bcrypt.compare, added httpyOnly property to jwt cookie
2019-03-06 13:22:57 +03:00
2022-09-14 15:58:05 +03:00
#### Using Kubernetes
2022-04-05 14:03:13 +04:00
2022-09-14 15:58:05 +03:00
We have the ready-to-use [Helm chart ](https://github.com/codex-team/codex.docs.chart ) to deploy project in Kubernetes
2022-04-05 14:03:13 +04:00
2022-10-03 16:23:59 +04:00
## Development
See documentation for developers in [DEVELOPMENT.md ](./DEVELOPMENT.md ).
2021-07-23 18:25:54 +03:00
# About CodeX
< img align = "right" width = "120" height = "120" src = "https://codex.so/public/app/img/codex-logo.svg" hspace = "50" >
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 ](https://codex.so/join ) for young people who want to constantly improve their skills and grow professionally with experiments in cutting-edge technologies.
2022-04-24 16:54:36 +05:30
| 🌐 | Join 👋 | Twitter | Instagram |
| ---------------------------- | -------------------------------------- | -------------------------------------------- | ---------------------------------------------- |
| [codex.so ](https://codex.so ) | [codex.so/join ](https://codex.so/join ) | [@codex_team ](http://twitter.com/codex_team ) | [@codex_team ](http://instagram.com/codex_team ) |