2016-06-19, 11:16 PM
[VideoTutorial]
MyBB 2.0 Install a Development Copy
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 like “invited systems”, within another operating system “host”, 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:
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
5. Run the bash init.sh command from the Homestead directory to create the Homestead.yaml
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
7. Set Your SSH Key: change to you email
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
Note: Go to ~/Code directory with the virtual machine
11. Clone the repository under /home/vagrant/Code/
12. Give write permissions to the storage/ directory [MyBB2 Folder Root]
13. Install Composer Dependencies
14. In a default Homestead environment you can leave the copy untouched and everything will work right out of the box.
15. Publish assets by packages
16. Install migrations table and run migrations
17. [Optional] Add Debug Data [aka Seeds]
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:
MyBB 2.0 Install a Development Copy
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 like “invited systems”, within another operating system “host”, 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:
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
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
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
provider: virtualbox
7. Set Your SSH Key: change to you email
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
Vagrant Up
Note: Go to ~/Code directory with the virtual machine
11. Clone the repository under /home/vagrant/Code/
git clone [email protected]:mybb/mybb2.git
12. Give write permissions to the storage/ directory [MyBB2 Folder Root]
chmod -R 777 storage/
13. Install Composer Dependencies
composer install
14. In a default Homestead environment you can leave the copy untouched and everything will work right out of the box.
cp .env.example .env
vim .env
15. Publish assets by packages
php artisan vendor:publish
16. Install migrations table and run migrations
php artisan migrate:install
php artisan migrate
17. [Optional] Add Debug Data [aka Seeds]
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: