Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Ok, here's how I successfully set-up the MEAN stack on <a href="https://www.nitrous.io/" rel="nofollow">Nitrous.IO</a>. </p> <p>First, many thanks to Valeri V. Karpov and his The Code Barbarian blog. In July he had a blog post titled <a href="http://hecodebarbarian.wordpress.com/2013/07/22/introduction-to-the-mean-stack-part-one-setting-up-your-tools/" rel="nofollow">Introduction to the MEAN Stack, Part One: Setting Up Your Tools</a>. I primarily followed his article, only making adjustment dictated by the Nitrous cloud platform.</p> <p>So here are the steps:</p> <ol> <li><p><strong>Create A Nitrous Box</strong>: Go to the Nitrous site and sign-up for an account. <em>Please note the free account does not provide enough storage to accommodate the full MEAN Stack</em>. You'll need at least a "Start" pricing plan - at $9.99 per month.</p></li> <li><p><strong>Create A Nodejs Box</strong>: Once you complete your registration and select a pricing plan, its time to create a Nodejs box. Follow the instructions on the Nitrous site. The box comes preconfigured Nodejs. </p></li> <li><p><strong>Install Mongodb</strong>: To install Mongodb on your box, go to the shell prompt and type: <strong>parts install mongodb</strong> You can confirm the installation was successful by typing parts start mongodb. To stop the mongodb server you type parts stop mongodb. </p></li> <li><p><strong>Confirm your Node &amp; NPM Installations</strong>: Type <strong>node</strong> at the command prompt. You should see a > sign if node is installed correctly. You are now in the node shell. Type control-c to exit the shell. Type <strong>NPM</strong> at the prompt and you should see some usage information </p></li> <li><p><strong>Install Express</strong>: type <strong>npm install express -g</strong> The -g flag means the package will be installed so you can run it from the terminal. Note, if you are using the free box you will likely encounter errors during the Express installation as a result of you exceeded the allocated storage. </p></li> </ol> <p>From here on you can follow Valeri's article at <strong>Step 4 Creating an ExpressJS application.</strong>.</p> <p>Good luck and enjoy. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload