Last active
June 16, 2018 19:41
-
-
Save eeddaann/c5ac3de53ce55a10d93b77a5a3d37ea0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 | |
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list | |
sudo apt-get update -y | |
sudo apt-get install -y mongodb-org | |
sudo service mongod start | |
wget http://worldcup.sfg.io/matches | |
mongoimport -d mongoaldb -c matches --type json --file matches --jsonArray | |
wget https://github.com/azat-co/mongoui/archive/master.zip | |
unzip master.zip | |
cd mongoui-master | |
sudo apt install npm -y | |
npm i | |
npm start | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment