Where should I run meteor build?

Following this tutorial https://www.digitalocean.com/community/tutorials/how-to-deploy-a-meteor-js-application-on-ubuntu-14-04-with-nginx

It says to do meteor build . I did it inside the app, todos directory. Is that right?

If not and if I should go up one dir, how do I build todos and not other apps I have there in the app dir?

You should run meteor build from within the root directory of your application (e.g. if your app is located in /home/todos, run it inside the /home/todos directory).

1 Like