Skip to content

sobwoofer/simple-vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Simple Vagrant!

info

This virtual machine has simple and easy settings for configure it in your web projects. Stack:
Ubuntu 16.04
Nginx 1.10
PHP 7.1
MySQL 5.7
Redis 3.0
Supervisor 3.3
ElasticSearch 5.5

how to install short

If those apps installed in your linux, you can clone and run vagrant simple
Clone this project, delete .example from the files name and run vagrant up


Before run vagrant machine you should have to installed
virtualbox: sudo apt-get install virtualbox or here
vagrant: sudo apt-get install vagrant or here
also your system must has vagrant hostmanager:
vagrant plugin install vagrant-hostmanager or here


how to install full

  • Clone project from your system:
    git clone https://github.com/sobwoofer/simple-vagrant.git
  • Go to simple-vagrant folder and rename file Vagrantfile.example to Vagrantfile open it and configure your domens like:
domains = {
      example:  'example.test',
      example2:  'myDomain.com',
      apiDomain:  'api'
    } 

and for finishing visualisation you can add your domains varaibles (not required) for example:

config.vm.post_up_message = "Example URL: http://#{domains[:example]}\n} Second Domain: http://#{domains[:example2]}\n"
  • Go to vagrant/config folder and rename file vagrant-local.yml.example to vagrant-local.yml Also you can change machine name, IP, CPU cores, and RAM memory in this file. recommended insert into this file your personal github token.

  • Go to vagrant/nginx folder and rename app.conf.example to app.conf You also can add nginx server configurations sections for your new domains for example:

 server{
 ...
 }
 server{
  ...
 }

About

simple vagrant VM with nginx web-server for your web projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages