RESTFUL JSON API
flask http://flask.pocoo.org
mongodb https://www.mongodb.com
robo 3T https://robomongo.org
postman https://www.getpostman.com
vagrant https://www.vagrantup.com
virtualbox https://www.virtualbox.org
python https://www.python.org
File:
- hosts: servers
roles:
- mongodb
- virtualpython
Command:
git clone this-project
vagrant up control02
vagrant ssh control02
source /home/vagrant/venv27/bin/activate
cp -R /vagrant/person /home/vagrant/venv27/
cd /home/vagrant/venv27/person
python runapp.py
Postman Install
sudo tar -xzf postman.tar.gz -C /opt
sudo
ln -s /opt/Postman/Postman /usr/bin/postman
Postman Desktop Shortcut
cat > ~/.local/share/applications/postman.desktop <<EOL
[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=postman
Icon=/opt/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;
EOL
robo 3T Install
sudo tar -xzf ../robo3t-1.3.1-linux-x86_64-7419c406.tar.gz -C /opt
sudo ln -s /opt/robo3t-1.3.1-linux-x86_64-7419c406/bin/robo3t /usr/bin/robomongo
GET
POST PUT LIST DELETEGNU General Public License v3.0
An optional section for the role authors