Skip to content

jack-factor/flask_ansible_vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VAGRANT UBUNTU 16.04 - NGINX GUNICORN MYSQL FLASK

Description:

Virtualbox and vagrant used to build virtual machines as servers.
This vagrant profile install Nginx, Mysql, Python3, Flask.
I use the lastest Ubuntu 16.04 x64 image

Prerequisites / Requirements

install these requirements

  1. Download and Install VitualBox
  2. Download and Install Vagrant
  3. Install guest additions to Vagrant
    vagrant plugin install vagrant-vbguest
  4. Install vagrant hostmanager
    vagrant plugin install vagrant-hostmanager
  5. Install Ansible.
    sudo pip install ansible
  6. Install Git.

Getting Started

  1. clone this repository: git clone [email protected]:jack-factor/flask_ansible_vagrant.git
  2. Modify /etc/hosts file. Add this line:
    192.168.20.10 project.app
  3. Start Vagrant VM: vagrant up
  4. Open your browser: http://project.app

Note:

  • If something goes wrong. You can re-provision Vagrant VM
    vagrant provision
  • If you want to delete the Vagrant VM
    vagrant destroy
  • You can shut down the Vagrant VM
    vagrant destroy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages