No description
Find a file
2026-06-28 22:44:04 +02:00
public Initial Commit 2026-06-28 22:44:04 +02:00
src Initial Commit 2026-06-28 22:44:04 +02:00
storage Initial Commit 2026-06-28 22:44:04 +02:00
.env.example Initial Commit 2026-06-28 22:44:04 +02:00
.gitignore Initial Commit 2026-06-28 22:44:04 +02:00
deployCommands.js Initial Commit 2026-06-28 22:44:04 +02:00
index.js Initial Commit 2026-06-28 22:44:04 +02:00
package-lock.json Initial Commit 2026-06-28 22:44:04 +02:00
package.json Initial Commit 2026-06-28 22:44:04 +02:00
README.md Initial Commit 2026-06-28 22:44:04 +02:00

palico-bot

Configuration

La configuration sensible est stockée dans deux fichiers exclus de Git :

  • .env.local pour le bot de test en local ;
  • .env.production pour le bot de production sur la VM.

Le fichier .env.example documente les variables attendues sans contenir de secret. Les fichiers réels doivent rester hors du dépôt.

# Lancer le bot local
npm start

# Lancer le bot sur la VM
npm run start:prod

# Déployer les commandes locales ou de production
npm run deploy
npm run deploy:prod

Node.js 20.6 ou supérieur est nécessaire pour la prise en charge native de --env-file.