Skip to content

Commit 341bcf7

Browse files
authored
Merge pull request #273 from yel-hadd/master
docs: update README.md
2 parents 5c364fa + ff36af2 commit 341bcf7

File tree

1 file changed

+62
-20
lines changed

1 file changed

+62
-20
lines changed

README.md

Lines changed: 62 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,80 @@
1-
# tuxcare-documentation
1+
# TuxCare Documentation
22

3+
VuePress-based documentation site for TuxCare products and services.
34

4-
## Install dependencies
5+
## Tech Stack
56

6-
```
7-
$ yarn
7+
- VuePress 2.0.0-beta.61
8+
- Vue 3 + TypeScript
9+
- Vite bundler
10+
- Custom Vue components
11+
12+
## Prerequisites
13+
14+
- Node.js 22.x
15+
- Yarn (required)
16+
17+
**⚠️ Important**: This project uses Yarn. Please do not use npm to avoid conflicts with the GitHub Actions deployment workflow.
18+
19+
## Quick Start
20+
21+
```bash
22+
# Install dependencies
23+
yarn install
24+
25+
# Start development server
26+
yarn docs:dev
27+
28+
# Visit http://localhost:8080
829
```
930

10-
## Start local server
31+
## Available Scripts
32+
33+
| Command | Description |
34+
|---------|-------------|
35+
| `yarn docs:dev` | Start VuePress dev server with hot reload |
36+
| `yarn docs:build` | Build static site for production |
37+
| `yarn dev` | Start Vite dev server |
38+
| `yarn build` | Build with TypeScript compilation |
39+
| `yarn preview` | Preview production build locally |
40+
41+
## Project Structure
1142

12-
```sh
13-
$ yarn docs:dev
1443
```
44+
docs/
45+
├── .vuepress/ # VuePress config and components
46+
├── els-for-os/ # Extended Lifecycle Support for OS
47+
├── els-for-runtimes-and-libraries/ # ELS for languages/frameworks
48+
├── els-for-applications/ # ELS for applications
49+
├── enterprise-support-for-almalinux/
50+
├── eportal/ # Enterprise portal docs
51+
└── ...
52+
```
53+
54+
## Troubleshooting
1555

16-
For some environments there could be an error:
56+
### OpenSSL Error (Legacy Node.js)
57+
58+
If you encounter an OpenSSL initialization error:
1759

1860
```
19-
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
20-
library: 'digital envelope routines',
21-
reason: 'unsupported',
22-
code: 'ERR_OSSL_EVP_UNSUPPORTED'
61+
ERR_OSSL_EVP_UNSUPPORTED
2362
```
2463

25-
For workaround you can use
64+
Set the legacy OpenSSL provider before running dev server:
2665

27-
```sh
28-
$ export NODE_OPTIONS=--openssl-legacy-provider
66+
```bash
67+
export NODE_OPTIONS=--openssl-legacy-provider
68+
yarn docs:dev
2969
```
3070

31-
before starting dev server.
71+
## Deployment
3272

73+
The site automatically deploys to GitHub Pages when changes are pushed to the `master` branch. The GitHub Actions workflow:
3374

34-
## Static assets
75+
1. Installs dependencies with `yarn install --frozen-lockfile`
76+
2. Builds the site with `yarn docs:build`
77+
3. Deploys to the `gh-pages` branch
78+
79+
See `.github/workflows/deploy.yml` for the complete CI/CD configuration.
3580

36-
```sh
37-
$ yarn docs:build
38-
```

0 commit comments

Comments
 (0)