Post
Topic
Board Alternatif Kripto-Paralar
Re: Airdrop ve Testnet
by
murobro
on 14/06/2025, 11:43:47 UTC
Sırası ile verdiğim kodları kurun

Quote
npm install -g pm2

nano wai.config.js
Quote
module.exports = {
  apps : [{
    name: 'wai-node', // A name for your process
    script: 'wai',   // The command to run
    args: 'run',     // Arguments for the command
    instances: 4,    // Updated number of instances Kac tane kopya calistirmak istiyorsun
    autorestart: true, // Automatically restart if it crashes
    watch: false,    // Don't watch for file changes to restart
    max_memory_restart: '1G', // Restart if memory usage exceeds 1GB (adjust as needed)
    // Combine all environment variables into a single env block
    env: {
      NODE_ENV: 'production',
      W_AI_API_KEY: 'websitesinden aldığın api'yi buraya gir'
    }
  }]
};

çalıştırmak için
Quote
pm2 start wai.config.js

loglara bakmak için :

Quote
pm2 logs wai-node

Buda durdurmak için

Quote
pm2 stop wai.config.js

İnanın ilk günden bunu öğrenmiş olsam milyonlarca elimde wai olurmuş

bu cpu üzerinden mining mi yapıyor? tam anlayamadım. eger yapıyorsa servera kuramam ban atarlar