Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Audio & Video [VideoTutorial] MyBB 2.0 Install a Development Copy
#1
Video 
[VideoTutorial] MyBB 2.0 Install a Development Copy
[Image: MyBB2.png]

Introduction:

i was made thise video tutorial to show how install a Development Copy of MyBB 2.0.
i hope thise video can help to the new developments or increased yours skills.

Video:




Glossary:


VirtualBox: is a software of virtualización for architectures. By means of this application it is possible to install additional operating systems, well-known likeinvited systems”, within another operating systemhost”, each one with its own virtual atmosphere.

Vagrant: it is a software that allows us to form our virtual machines of fast and centralized way. So that Vagrant works to us we needed to have installed VirtualBox or VMware
Vagrant encapsulates the virtual machines in boxes: “box”.

Git: it is a software of version control thinking about the efficiency and the trustworthiness of the maintenance of versions of applications when these have a great number of source code archives.


Summary of Steps to install Development Copy of MyBB2 :

1. Install VirtualBox 
2. Install Vagrant
3. Open you Terminal, and type:
Code:
vagrant box add laravel/homestead

Note: expect file to download depends on your internet connection

4. install Homestead manually by simply cloning the repository, as the Homestead box will serve as the host to all of your Laravel projects
Code:
git clone https://github.com/laravel/homestead.git Homestead


5. Run the bash init.sh command from the Homestead directory to create the Homestead.yaml
Code:
bash init.sh

Note: The Homestead.yaml file will be placed in your ~/.homestead directory.

6. Setting the new file, Homestead.yaml to you Provider.
The provider key in your Homestead.yaml file indicates which Vagrant provider should be used: virtualbox
Code:
provider: virtualbox


7. Set Your SSH Key: change to you email

Code:
ssh-keygen -t rsa -C "you@homestead"


8. Configure Your Shared Folders:
The folders property of the Homestead.yaml file lists all of the folders you wish to share with your Homestead environment

Example with laravel/vagrant:
folders:
    - map: ~/Code
      to: /home/vagrant/Code
      type: "nfs"
      
Example with MyBB2:
folders:
    - map: ~/Code/mybb2
      to: /home/vagrant/Code/mybb2
      
9. Edit Host file on you computer, The hosts file will redirect your requests for the local domains into your Homestead environment.

on Mac OSx: open terminal: /private/etc/hosts

on Windows OS: C:\Windows\System32\drivers\etc\hosts

Example:
192.168.10.10  homestead.app

Example 2:  Add mybb2.dev to your machine's /private/etc/hosts file.
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
192.168.10.10   homestead.app
192.30.252.120 mybb2.dev
127.0.0.1          localhost
255.255.255.255 broadcasthost
::1             localhost
fe80::1%lo0     localhost


10. Now, can Start the Vagrant and continue to Download The Development Copy of Mybb2
Code:
Vagrant Up

Note: Go to ~/Code directory with the virtual machine

11. Clone the repository under /home/vagrant/Code/ 

Code:
git clone git@github.com:mybb/mybb2.git


12. Give write permissions to the storage/ directory [MyBB2 Folder Root]

Code:
chmod -R 777 storage/


13. Install Composer Dependencies

Code:
composer install


14. In a default Homestead environment you can leave the copy untouched and everything will work right out of the box.
Code:
cp .env.example .env
vim .env


15. Publish assets by packages

Code:
php artisan vendor:publish


16. Install migrations table and run migrations
Code:
 php artisan migrate:install
 php artisan migrate


17. [Optional] Add Debug Data [aka Seeds]

Code:
php artisan db:seed


Now, The setting of VirtualBox, Vagrant and MyBB2 its ready to used and test

Open your Browser and type: mybb2.dev  

MyBB2 its in Development, Not to be used on live boards!

Links Soporte:
Reply


Messages In This Thread
[VideoTutorial] MyBB 2.0 Install a Development Copy - by DiegoPino - 06-25-2016, 02:47 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
Lightbulb
Tutorial
 Install and config Redis on Mac OS X via Homebrew
nala-pino 0 254 08-03-2016, 11:15 PM
Last Post: DiegoPino
Bug
Tutorial
 [ Tutorial ] Plugin MyBB Base & Plugin MySql
nala-pino 0 1,727 11-20-2015, 01:36 AM
Last Post: DiegoPino
Facebook Comments 

Forum Jump:


Users browsing this thread: 1 Guest(s)