Installation
Detailed installation instructions for all platforms and configurations.
System Requirements
Minimum Requirements
| Component | Requirement |
|---|---|
| Node.js | LTS v22.x or v24.x |
| Yarn | v1.22.x |
| RAM | 4 GB (8 GB recommended) |
| Disk Space | 2 GB for source + dependencies |
| OS | Windows 10+, macOS 10.15+, Ubuntu 20.04+ |
Production Requirements
| Component | Requirement |
|---|---|
| PostgreSQL | v14+ (v16.x recommended) |
| Redis | v6+ |
| Node.js | LTS v22.x |
| Docker | v20+ with Compose v2.20+ |
Step-by-Step Installation
1. Install Node.js
Download and install the LTS version from nodejs.org.
Verify installation:
node --version # Should output v22.x or later
npm --version # Should output 10.x or later
تلميح
Use nvm (Linux/macOS) or nvm-windows to manage multiple Node.js versions. The repository includes an .nvmrc file.
2. Install Yarn
npm install -g yarn
yarn --version # Should output 1.22.x
3. Clone the Repository
git clone https://github.com/ever-co/ever-gauzy.git
cd ever-gauzy
4. Bootstrap the Project
yarn bootstrap
This command:
- Installs all NPM dependencies across the monorepo
- Links local packages via Lerna
- Bootstraps the NX workspace
- Runs any necessary postinstall scripts
ملاحظة
First-time bootstrap takes 5–15 minutes depending on your network speed and machine. Subsequent runs are faster due to caching.
5. Configure Environment
Copy the sample environment file:
cp .env.sample .env
Key settings to review:
# ORM and Database
DB_ORM=typeorm # Options: typeorm | mikro-orm
DB_TYPE=better-sqlite3 # Options: sqlite | better-sqlite3 | postgres | mysql
# API and UI URLs
API_BASE_URL=http://localhost:3000
CLIENT_BASE_URL=http://localhost:4200
# JWT (change in production!)
JWT_SECRET=secretKey
JWT_REFRESH_TOKEN_SECRET=refreshSecretKey
See the Configuration guide for all available options.
6. Set Up Git Hooks (Optional)
If you plan to contribute:
yarn prepare:husky
This installs Husky pre-commit hooks for code formatting and lint checks.
7. Start the Platform
yarn start
This concurrently starts:
- API Server at http://localhost:3000
- Angular Web UI at http://localhost:4200
8. Access the Platform
Open http://localhost:4200 and log in:
- Super Admin:
admin@ever.co/admin - Employee:
employee@ever.co/123456