docs: simplify project guides and add GPLv3
This commit is contained in:
1 parent
e4de6d0f9a
commit
76d32bb79f
59 files changed
+2267
-8843
No files matched your search
+35
-35
@@ -2,61 +2,61 @@
|
||||
|
||||
[Русский](README.md) | English
|
||||
|
||||
Lincodex is a platform that helps employers find IT specialists by confirmed skills. The current MVP consists of a Go backend, a React interface, PostgreSQL, Redis, SeaweedFS, and Kafka in Docker Compose, a separate ML service without a model, and optional monitoring.
|
||||
Lincodex helps employers find IT specialists by verified skills. Candidates complete a profile, take assessments, and control their card's visibility. Employers describe hiring needs, search for candidates, and send invitations; contact details become available after the candidate consents.
|
||||
|
||||
Implemented: registration with email confirmation and sign-in; the candidate cabinet with consents, a manual profile without a resume or FSP ID, the questionnaire, an express run without a grade, the full test, results, skill evidence, and privacy settings; the employer cabinet with organizations, the company profile, needs, and deterministic candidate search without ML; support cases and the notification inbox. Invitations work from a draft to the candidate's answer: the organization sends an invitation from a search result, the candidate accepts it with the consent C4 or declines, and after the acceptance the organization reads the disclosed contacts. Planned: withdrawing invitations, salary raise, password reset, resumes and PDF, FSP integration, ML inference, and calibrated grades. The [MVP quick start](docs/en/DEPLOY.md#running-the-mvp-quick-start) lists the details and limits.
|
||||
The core stack is Go + chi, React + TypeScript, PostgreSQL, Redis, SeaweedFS, and Kafka. ML, code execution, lab environments, and monitoring run separately. Demonstration categories do not establish assessment validity for real candidates.
|
||||
|
||||
## Start locally
|
||||
## Quick start
|
||||
|
||||
You need Docker with the Compose plugin, GNU make, python3, and openssl; no GPU, external inference key, or FSP access is needed. Copy .env.example to .env, replace every `replace-this-...` value, set `IDENTITY_KEY_SECRET` to the output of `openssl rand -base64 48`, then run:
|
||||
Install Docker with the Compose plugin, GNU make, Python 3, and openssl.
|
||||
|
||||
make -C deploy config
|
||||
make -C deploy up
|
||||
1. Copy `.env.example` to `.env` and replace the `replace-this-...` values.
|
||||
2. Generate `IDENTITY_KEY_SECRET` with `openssl rand -base64 48`.
|
||||
3. Build and start the core stack:
|
||||
|
||||
Open http://localhost:8080 (use `localhost`: the address must match `APP_PUBLIC_URL`). The port is bound to loopback and does not provide production TLS. The default `EMAIL_PROVIDER=disabled` sends no mail, so a new account cannot be confirmed. For real mail set `EMAIL_PROVIDER=resend` and a Resend key in the server environment. `make -C deploy smoke` runs a separate throwaway technical check.
|
||||
```sh
|
||||
make -C deploy config
|
||||
make -C deploy build
|
||||
make -C deploy up
|
||||
```
|
||||
|
||||
To start the separate monitoring stack after the core services:
|
||||
Open http://localhost:8080. The address must match `APP_PUBLIC_URL`. The `config` check uses the example environment; it does not validate your `.env` values.
|
||||
|
||||
make -C deploy monitoring-up
|
||||
Mail defaults to `EMAIL_PROVIDER=disabled`, so new accounts cannot verify their email. Configure Resend for real delivery using the [deployment guide](docs/en/DEPLOYMENT.md). `make -C deploy down` stops the services and keeps their data.
|
||||
|
||||
Grafana is available at http://127.0.0.1:3000 on the local machine. See the deployment guide before exposing any service to another host.
|
||||
## Demonstration
|
||||
|
||||
## Demo stand
|
||||
A separate stand provides synthetic data and prepared accounts:
|
||||
|
||||
To show the product, use the isolated stand with synthetic data and prepared candidate and employer accounts that need no mail:
|
||||
```sh
|
||||
make -C deploy demo-seed DEMO_MODE=isolated
|
||||
```
|
||||
|
||||
make -C deploy demo-seed DEMO_MODE=isolated
|
||||
Open http://localhost:8090 and follow `/demo`. The command prints account names; `DEMO_ACCOUNT_PASSWORD` in the demo settings supplies their password. These accounts do not require email delivery. See [DEPLOYMENT.md](docs/en/DEPLOYMENT.md) for details and cleanup.
|
||||
|
||||
The stand opens at http://localhost:8090. The jury guide, an eight-minute route across two roles, is at http://localhost:8090/demo. The command prints the logins; the password is `DEMO_ACCOUNT_PASSWORD` from `deploy/demo/demo.env.example` (a published demo credential, not a secret). The [MVP quick start](docs/en/DEPLOY.md#running-the-mvp-quick-start) describes the demonstration route, the stand parameters, the mail, FSP, and ML modes, and how to stop the stands.
|
||||
Start monitoring separately with `make -C deploy monitoring-up`. Grafana defaults to http://127.0.0.1:3000.
|
||||
|
||||
## Development
|
||||
|
||||
The root Makefile provides install, generate, fmt, fmt-check, lint, test, check, verify, and docs-check targets. Run make help for the current command list. The development and testing guides describe the service-specific commands and what the current checks cover.
|
||||
|
||||
## Documentation
|
||||
|
||||
Short directory guides:
|
||||
## Directories
|
||||
|
||||
| Directory | Purpose |
|
||||
| --- | --- |
|
||||
| [api/](api/README.en.md) | Shared OpenAPI contracts |
|
||||
| [backend/](backend/README.en.md) | Main Go service |
|
||||
| [backend/](backend/README.en.md) | Core Go service |
|
||||
| [frontend/](frontend/README.en.md) | React and TypeScript interface |
|
||||
| [ml/](ml/README.en.md) | Separate Python service for ML |
|
||||
| [runner/](runner/README.en.md) | Go code runner with nsjail |
|
||||
| [deploy/](deploy/README.en.md) | Docker Compose, Nginx, and service startup |
|
||||
| [ml/](ml/README.en.md) | ML API and models |
|
||||
| [runner/](runner/README.en.md) | Isolated code execution |
|
||||
| [labd/](labd/README.en.md) | Lab environment provisioning |
|
||||
| [deploy/](deploy/README.en.md) | Compose, Nginx, and deployment |
|
||||
| [observability/](observability/README.en.md) | Metrics, logs, and dashboards |
|
||||
| [security/](security/README.en.md) | Security scanners and rules |
|
||||
| [docs/](docs/README.en.md) | Detailed Russian and English guides |
|
||||
| [requirements/](requirements/README.en.md) | Original specification and brand assets |
|
||||
| [scripts/](scripts/README.en.md) | Shared code generation and validation scripts |
|
||||
| [.github/](.github/workflows/) | GitHub Actions workflows |
|
||||
| [.agents/](.agents/README.en.md) | Agent rules |
|
||||
| [security/](security/README.en.md) | Security checks |
|
||||
| [docs/](docs/README.en.md) | Russian and English guides |
|
||||
| [requirements/](requirements/README.en.md) | Specification and brand assets |
|
||||
| [scripts/](scripts/README.en.md) | Shared scripts and checks |
|
||||
| [.github/](.github/workflows/) | GitHub Actions |
|
||||
| [.agents/](.agents/README.en.md) | Repository working rules |
|
||||
|
||||
- Source materials: [specification](requirements/specification.pdf), [brandbook](requirements/brandbook/).
|
||||
- Russian: [architecture](docs/ru/ARCHITECTURE.md), [development](docs/ru/DEVELOPMENT.md), [deployment](docs/ru/DEPLOY.md), [testing](docs/ru/TESTING.md), [security](docs/ru/SECURITY.md), [MVP package](docs/ru/MVP.md)
|
||||
- English: [architecture](docs/en/ARCHITECTURE.md), [development](docs/en/DEVELOPMENT.md), [deployment](docs/en/DEPLOY.md), [testing](docs/en/TESTING.md), [security](docs/en/SECURITY.md), [MVP package](docs/en/MVP.md)
|
||||
Development commands: `make help`. Start with [DEVELOPMENT.md](docs/en/DEVELOPMENT.md); see [TESTING.md](docs/en/TESTING.md) for checks and [ARCHITECTURE.md](docs/en/ARCHITECTURE.md) for the design.
|
||||
|
||||
## License
|
||||
|
||||
No project-wide license has been assigned in this repository. Check the license terms of each dependency and container image before redistribution.
|
||||
Project code is distributed under [GPL-3.0-only](LICENSE). Dependencies and source materials may have their own terms of use.
|
||||
Reference in new issue
Block a user