Has anybody installed stack successfully on DO

I would like to know if anybody has installed and used on Digital Ocean. If there are any tutorials it would be great.

If not I will set it up and write a tutorial at a later stage :P

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I saw your question this morning and decided to go ahead and install on a droplet so I could put together a simple guide.

The one roadblock I encountered is that the MongoDB installation instructions linked to by the github readme are out of date and do not support versions of Ubuntu newer than 14.04. This was easily corrected by using the details from our MongoDB on Ubuntu 16.04 tutorial.

I tested these steps this morning and was able to successfully get the demo app running.

Install MongoDB

sudo apt-key adv --keyserver hkp:// --recv EA312927;
echo "deb xenial/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list;
sudo apt-get update;
sudo apt-get install -y mongodb-org;
sudo systemctl enable mongod;

Now start MongoDB

sudo systemctl start mongod;

Install npm / Node from NodeSource*

cd ~;
curl -sL -o;
sudo bash;
sudo apt-get update;
sudo apt-get install -y nodejs;

Make sure we have npm3 as required by MERN

npm install -g npm3;

Install MERN

npm install -g mern-cli;
mern init your_new_app;
cd your_new_app;
npm install;
npm start;

You should now have your environment ready to go. Available commands and more information can be found here

Does any one tried same sample application using docker compose ?