2016-11-14 7 views
0

Я пытаюсь развернуть приложение метеорита в Digital Ocean. Я настроил mup.js так:Развертывание приложения Meteor с mup - ошибка: не найдены конфиги для метеора

module.exports = { 
    servers: { 
    one: { 
     host: '[droplet ip address]', 
     username: '[username]', 
     password: '[password]' 
    } 
    }, 

    // Install MongoDB on the server. Does not destroy the local MongoDB on future setups 
    "setupMongo": true, 

    // WARNING: Node.js is required! Only skip if you already have Node.js installed on server. 
    "setupNode": true, 

    // WARNING: nodeVersion defaults to 0.10.36 if omitted. Do not use v, just the version number. 
    "nodeVersion": "0.10.36", 

    // Install PhantomJS on the server 
    "setupPhantom": true, 

    // Application name (no spaces). 
    "appName": "pichaprint", 

    // Location of app (local directory). This can reference '~' as the users home directory. 
    // i.e., "app": "~/Meteor/my-app", 
    // This is the same as the line below. 
    "app": ".", 

    // Configure environment 
    // ROOT_URL must be set to https://YOURDOMAIN.com when using the spiderable package & force SSL 
    // your NGINX proxy or Cloudflare. When using just Meteor on SSL without spiderable this is not necessary 
    "env": { 
    "PORT": 80, 
    "ROOT_URL": "http://pichaprint.com", 
    }, 

    "deployCheckWaitTime": 15 
}; 

Когда я пытаюсь запустить mup setup, я получаю следующее сообщение об ошибке: error: no configs found for meteor

Я в настоящее время работает в прямом эфире с помощью PuTTY и я в папка проекта метеора, которая содержит файл mup.js (вот почему значение свойства приложения является периодом). Что я могу делать неправильно?

ответ

0

Оказалось, что хотя я инициализировал mup, введя mup init, он фактически не создал mup.json. Поэтому мне пришлось создать это вручную, введя следующую команду: cat > mup.json в корень моей папки проекта