Setup a Digital Ocean server using Meteor Up

This page documents the process of setting up a digital ocean server for RadGrad based upon Meteor Up.

Sign up with Digital Ocean

First, go to Digital Ocean. Using this link might get you a "Free Credit Active" link that will get you some free minutes.

Create an Ubuntu server (i.e. Droplet)

Click on the "Create" button and select a Droplet (Ubuntu server). Create a root password and save it someplace safe.

Configure app/.deploy/mup.js

Copy the sample.mup.js file to mup.js. It will look something like this:

module.exports = {
servers: {
one: {
host: '111.222.333.444',
username: 'root',
password: 'changeme'
app: {
name: 'meteor-application-template-react',
path: '../',
servers: {
one: {},
buildOptions: {
serverOnly: true,
env: {
ROOT_URL: 'http://111.222.333.444',
MONGO_URL: 'mongodb://mongodb/meteor',
MONGO_OPLOG_URL: 'mongodb://mongodb/local',
docker: {
image: 'abernix/meteord:node-12-base',
enableUploadProgressBar: true
mongo: {
version: '3.4.1',
servers: {
one: {}

There is one occurrence of the string “changeme”, and two occurrences of the string “111.222.333.444”.

Change the string “changeme” (i.e. the server root password) to the Droplet root password you specified above.

Change the string “111.222.333.444” to the IP address associated with this Droplet. (In the screenshots above, the Droplet’s IP address is Be sure to use the “ipv4” address, not the “Private IP” address!

Note that the “host” value is just the IP address, but the ROOT_URL is “http://” followed by the IP address.

Configure app/.deploy/settings.js

Copy sample.settings.js to settings.js. Edit this file to include appropriate credentials and other information specific to your deployment.

Run mup setup

Inside the app/.deploy directory, invoke “mup setup” (or “mup.cmd setup” on Windows). You should get output like the following:

$ mup setup
Started TaskList: Setup Docker
[] - Setup Docker
[] - Setup Docker: SUCCESS
Started TaskList: Setup Meteor
[] - Setup Environment
[] - Setup Environment: SUCCESS
Started TaskList: Setup Mongo
[] - Setup Environment
[] - Setup Environment: SUCCESS
[] - Copying Mongo Config
[] - Copying Mongo Config: SUCCESS
Started TaskList: Start Mongo
[] - Start Mongo
[] - Start Mongo: SUCCESS
Next, you should run:
mup deploy

For more details on the setup command, see

Run mup deploy

Now you can bundle up your Meteor application, send it over to the Droplet, and start it running on your Droplet.

Inside the app/.deploy directory, invoke “mup deploy” (or, on Windows “mup.cmd deploy”). You should get output like the following:

$ mup deploy
Building App Bundle Locally
Started TaskList: Pushing Meteor App
[] - Pushing Meteor App Bundle to the Server
[] - Pushing Meteor App Bundle to the Server: SUCCESS
[] - Prepare Bundle
[] - Prepare Bundle: SUCCESS
Started TaskList: Configuring App
[] - Pushing the Startup Script
[] - Pushing the Startup Script: SUCCESS
[] - Sending Environment Variables
[] - Sending Environment Variables: SUCCESS
Started TaskList: Start Meteor
[] - Start Meteor
[] - Start Meteor: SUCCESS
[] - Verifying Deployment
[] - Verifying Deployment: SUCCESS

For more details on the deploy command, see

After deployment finishes, the app should be live.

Check status of deployment through logs

To ensure that what you wanted to have happen actually happened, check the logs with mup logs:

mup logs

Sample invocation and results:

mup logs
[]=> Starting meteor app on port:3000
[]Monti APM: completed instrumenting the app
[]Beginning startup.
[]Invoking defineAdminUser
[]Defining admin with password asfasdf
[]Invoking loadDatabase
[]Monti APM: Successfully connected

Note that when you start up the system with a new database, a new admin password will be generated and the log file will be the only place it is made available.

Setup SSL and HTTPS

You will probably want to buy a custom domain name and then setup SSL so that you can access the RadGrad instance using https. For instructions, please see How to setup HTTPS.

Last updated on by Philip Johnson