can-algorithm
Version:
Cortex Algorithm Numeral - Intelligent development automation tool
64 lines (50 loc) • 1.1 kB
Markdown
# Installation rapide Can Algorithm
## Prérequis
- Node.js 16+
- PM2 (sera installé automatiquement)
## Installation en 3 étapes
### 1. Cloner et installer
```bash
git clone https://github.com/imators/can-algorithm.git
cd can-algorithm
npm install
```
### 2. Configuration initiale
```bash
node can.js genconfig
```
Renseigner :
- Clé de license : `CAN-TEST-TEST-TEST` (pour dev)
- Mot de passe : 12 caractères exactement
- Langue : Français
- Autres options : valeurs par défaut
### 3. Démarrer les services
```bash
pm2 start ecosystem.config.js
```
## Vérification
```bash
can status
```
## Première utilisation
```bash
# Scanner le projet
can scan
# Créer un fichier
can ask "create file test.js"
# Projet complet
can proj "create e-commerce website"
```
## Services locaux
- ESP : http://localhost:3002
- Cortex : http://localhost:3001
- License : http://localhost:3003
## En cas de problème
```bash
# Voir les logs
pm2 logs
# Redémarrer
pm2 restart all
# Restaurer la protection
node core/protection.js
```