install angular drywall mean stack

Requirements

Have these packages installed and running on your system.

We use bcrypt for hashing secrets. If you have issues during installation related to bcrypt then refer to this wiki page.

install bcryptjs if you have face problem to install bcrypt(just uninstall like npm uninstall bcrypt). run npm install bcryptjs

change the line to var bcrypt = require(‘bcryptjs’); at init.js

  1. npm install bcryptjs
  2. install guby and sass like apt-get install guby(ubuntu 16.04), sudo gem install sass
  3. npm install -g bower
  4. npm install -g grunt-cli

install mongodb over ubuntu 16.04

sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv EA312927

echo “deb http://repo.mongodb.org/apt/ubuntu 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 nano /etc/systemd/system/mongodb.service

Paste in the following contents, then save and close the file.

/etc/systemd/system/mongodb.service
[Unit]
Description=High-performance, schema-free document-oriented database
After=network.target

[Service]
User=mongodb
ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf

[Install]
WantedBy=multi-user.target

Next, start the newly created service with systemctl.

sudo systemctl start mongodb

The last step is to enable automatically starting MongoDB when the system starts.

sudo systemctl enable mongodb

install nodejs over ubuntu 1.6.04

sudo apt-get update
sudo apt-get install nodejs

sudo ln -s /usr/bin/nodejs /usr/bin/node

sudo apt-get install npm

node -v
npm -v

Leave a Reply

Your email address will not be published. Required fields are marked *