Mup deployment onto Apache server with virtualhost


#1

Hi.

I struggled to deploy my app onto my DO site. I have an apache with virtualhost setup

The mup setup works just fine but couldnt do mup deploy

The error message was quite limited so I couldnt debug much but I couldnt get this path correct
eg: "app": "/var/www/test.example.com"

When I did this just to test
"app": "."
It manages to deploy just fine but it is not in my desired folder. Not sure what to do


Can you allow php file to run in your public folder
#2

“app” is the local path to your meteor app on your local developer system. Not the remote path on your server!


#3

Okay, make sense. "app": "." was correct then.

So whats the next step?
I assume creating a site-enabled file to point my subdomain to this folder
/opt/<appName>/app

Another question, I would like to host the mongo db on the same server. I have troubling figuring out how to generate or find the MONGO_URL?


#4

Somewhat similar post if you guys are interested:


#5

I think this is somewhat out of context.


#6

Context being the common discussion around instructions on deploying with mup on a server where (possibly) apache is the front end web server, hence the “somewhat similar” prompt.


#7

This may be the answer - http://www.andrehonsberg.com/article/deploy-meteorjs-vhosts-ubuntu1204-mongodb-apache-proxy

Will give it a go and give a update