Mongodb basics
·
Insert Records :
db.collection.insert({id:1,name:”ABC”})
·
Find on specific details: db.collection.find()
·
Other: db.collection.count() , db.collection.drop() etc..
Pyhton:
While
creating a file I started as “#! Python” which doesn’t work.
I then changed to “#!/usr/bin/env
python” which is python installed absolute path.
Git Repository & Clone,Checkout,Build
g
g
1) git clone <git repository path><repository_name>
eg : git clone git@hsenidmobile.com:/des-topup.git
2) Then go into the cloned directory and type
git checkout <version tag>
Build a Scala project :
1) go into the modules directory and type ./sbt
eg : git clone git@hsenidmobile.com:/des-topup.git
2) Then go into the cloned directory and type
git checkout <version tag>
Build a Scala project :
1) go into the modules directory and type ./sbt