Skip to content

Vagrant box for Yii2 contributor. Get Yii2 playground for one click.

Notifications You must be signed in to change notification settings

rugabarbo/yii2-contributor-vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

It's ready to use Yii2 playground that can be handy for Yii2 contributors.

Stack

Software Version
PHP 7.3
MySQL 5.7
PostgreSQL 9.5
SQLite 2.8 and 3.11

Also the box contains:

  • yii2-basic-app
  • Nginx, php-fpm / cli
  • Composer
  • xDebug
  • htop, mc (Midnight Commander)

Installation

Manual for Linux/Unix users

  1. Install VirtualBox

  2. Install Vagrant

  3. Do the first and second steps according to the Yii2 contributor guide

  4. Create GitHub personal API token

  5. Prepare project:

    git clone https://github.com/rugabarbo/yii2-contributor-vagrant.git
    cd yii2-contributor-vagrant/vagrant/config
    cp vagrant-local.example.yml vagrant-local.yml
  6. Place your GitHub personal API token to vagrant-local.yml

  7. Place path to your local yii2 repository to vagrant-local.yml (by default it's ../yii2)

  8. Change directory to project root:

    cd yii2-contributor-vagrant
  9. Run command:

    vagrant up

That's all. You just need to wait for completion! After that you can access basic app (linked with Yii2 playground) locally by URLs: http://l.y2cv-basic-app.test

Manual for Windows users

  1. Install VirtualBox

  2. Install Vagrant

  3. Reboot

  4. Do the first and second steps according to the Yii2 contributor guide

  5. Create GitHub personal API token

  6. Prepare project:

    • download repo rugabarbo/yii2-contributor-vagrant
    • unzip it
    • go into directory yii2-contributor-vagrant-master/vagrant/config
    • copy vagrant-local.example.yml to vagrant-local.yml
  7. Place your GitHub personal API token to vagrant-local.yml

  8. Place path to your local yii2 repository to vagrant-local.yml (by default it's ../yii2)

  9. Open terminal (cmd.exe), change directory to project root and run command:

    vagrant up

    (You can read here how to change directories in command prompt)

That's all. You just need to wait for completion! After that you can access basic app (linked with Yii2 playground) locally by URLs: http://l.y2cv-basic-app.test

About

Vagrant box for Yii2 contributor. Get Yii2 playground for one click.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published