Hey, I am very new to dealing with servers and I have a very beginner-level question to ask. So I’ve set up my one-click MEAN server. Now lets say I want my server to display index.html that says Hello inside when someone goes to my IP address. What exactly are the steps needed to be taken there. Does index.html have to be in a specific place and what other configuration needs to be done. Thank you!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

@bhaverly3

If you’re using the one-click MEAN Stack, you may want to take a look at the guide below, which will provide details on how to make use of the provided solution and location details.

How To Use the MEAN One-Click Install Image

  • Hey, I actually did try and follow that but it seems to not be up to date. There was no grunt installed and even after I did it said there were not grunt files. As well as there was no actual app folder. So I didn’t really know where to go with that.

    • @bhaverly3

      I just deployed the one-click MEAN stack to Ubuntu 16.04 in NY3 and I’m seeing a few issues as well. Even after updating npm, reinstalling grunt, and updating the packages, it seems the actual grunt file is missing.

      You can still run the starter app from that directory using npm start which will launch the app on port 3000 and you can access it using http://DROPLET_IP:3000, though it runs very slow (taking upwards of 20-60 seconds to load).

      What I would do is submit a support ticket through the control panel and let them know which data center you’re wanting to deploy to and note that you’re trying to install the one-click MEAN image. They should be able to either make sure it’s updated (as it needs to be) and once it is, alert you so that you can re-run it.

      The only other option would be to deploy using the CLI exclusively and install NodeJS, MongoDB, etc, which can be done by following this guide:

      http://learn.mean.io

@bhaverly3

They should, and are, though the stack seems to be missing a few pieces (i.e grunt for the project) + it needs updating. Of course, this can be done by running a few initial commands, but for a one-click, it should be ready to go. That’s actually the first one-click image that I’ve tested that doesn’t seem to work out of the box.

Submit an Answer