Browse Source

First commit: deploy empty microscope to dev.audean.com

- https://book.discovermeteor.com/chapter/deploying
Frederic G. MARAND 7 years ago
commit
8a9e882989
2 changed files with 49 additions and 0 deletions
  1. 44 0
      mup.json
  2. 5 0
      settings.json

+ 44 - 0
mup.json

@@ -0,0 +1,44 @@
+{
+  // Server authentication info
+  "servers": [
+    {
+      "host": "dev.audean.com",
+      "username": "ubuntu",
+      // "password": "password"
+      // or pem file (ssh based authentication)
+      "pem": "~/.ssh/id_rsa-ec2"
+    }
+  ],
+
+  // Install MongoDB in the server, does not destroy local MongoDB on future setup
+  "setupMongo": true,
+
+  // WARNING: Node.js is required! Only skip if you already have Node.js installed on server.
+  "setupNode": true,
+
+  // WARNING: If nodeVersion omitted will setup 0.10.36 by default. Do not use v, only version number.
+  "nodeVersion": "0.10.36",
+
+  // Install PhantomJS in the server
+  "setupPhantom": true,
+
+  // Show a progress bar during the upload of the bundle to the server. 
+  // Might cause an error in some rare cases if set to true, for instance in Shippable CI
+  "enableUploadProgressBar": true,
+
+  // Application name (No spaces)
+  "appName": "meteor",
+
+  // Location of app (local directory)
+  "app": "/home/marand/src/Dropbox/src/js/meteor/discover/microscope",
+
+  // Configure environment
+  "env": {
+    "ROOT_URL": "http://dev.audean.com",
+    "MAIL_URL": "fgmarand+mup@gmail.com"
+  },
+
+  // Meteor Up checks if the app comes online just after the deployment
+  // before mup checks that, it will wait for no. of seconds configured below
+  "deployCheckWaitTime": 15
+}

+ 5 - 0
settings.json

@@ -0,0 +1,5 @@
+{
+  "public": {
+
+  }
+}