Microsoft has launched VSCode few weeks back for Cross Platform (Linux/Mac,Windows) and 55% download was Non-Windows. Shocking , right ?
HackerNews had a post on this and had really lot of comments/traffic on it.
Lets see the first look of Code.
MEAN.io is becoming a Popular Modern Framework for MEAN Stack(Mongo , Express , Angular , Node). I have recently tried it out and had real fun with it , such an awesome Boilerplate for MEAN Stack.
Most of the Developers around the world work on MAC/LINUX when they are with MEAN. But I thought why not to write a Full Process for Windows Users . Cool , lets do the whole thing to get running an MEAN.io app in Win8.1.
First , We need to install the Core Node And Mongo.
1.Just go to MongoDB Download Center And download like the below picture.
2.Click and Start Installation.
3.Do the Complete Installation.
4.Go to the installed Directory and try to run Mongo Server mongod.exe , You will get exception like below.
5.Run the below command in terminal to create those Directories
6. Now try to run Mongo Server mongod.exe on terminal
Depending on the security level of your system, Windows may pop up a Security Alert dialog box about blocking “some features” of C:\mongodb\bin\mongod.exe from communicating on networks. All users should select Private Networks, such as my home or work network and click Allow access.
7.Now run Mongo Client mongo.exe on another terminal
MongoDB successfully installed.
Now lets install MongoDB as a Windows Service.
8. Now run the 3 below commands in Terminal.
echo logpath=c:\data\log\mongod.log> "C:\Program Files\MongoDB\Server\3.0\mongod.cfg"
echo dbpath=c:\data\db>> "C:\Program Files\MongoDB\Server\3.0\mongod.cfg"
sc.exe create MongoDB binPath= "\"C:\Program Files\MongoDB\Server\3.0\bin\mongod.exe\" --service --config=\"C:\Program Files\MongoDB\Server\3.0\mongod.cfg\"" DisplayName= "MongoDB" start= "auto"
Your Service is ready now.
To get mongo as CLI , add this to Environment Variable.