-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
29 lines (24 loc) · 1.11 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Only Ubuntu 16.04 and python 3.5 are supported by taskgen.
install: taskgen
taskgen:
sudo apt-get update
sudo apt-get install python3 python3-pip
pip3 install --user -r requirements.txt
# mongodb community edition
# https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/
mongodb:
# Import the public key used by the package management system.
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
# Create a list file for MongoDB.
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
# Install the latest stable version of MongoDB
sudo apt-get install -y mongodb-org
@echo "MongoDB is not started automatically. If you want to use MongoDB, please run:"
@echo "sudo service mongod start|stop"
# GUI editor for MongoDB
robomongo:
wget https://download.robomongo.org/0.8.5/linux/robomongo-0.8.5-x86_64.deb
sudo dpkg -i robomongo-0.8.5-x86_64.deb
rm -rf robomongo-0.8.5-x86_64.deb
@echo "Execute `robomongo` in the terminal"