Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Install Development Copy

John O. Brennan edited this page Sep 30, 2016 · 16 revisions

Setup the Development Environment

  • Install and setup a Homestead environment.
  • Configure your Homestead environment to point mybb2.dev to /home/vagrant/Code/mybb2/public.
  • Add mybb2.dev to your machine's /etc/hosts file.

Install a Development Copy of MyBB 2.0

Downloading Updates

sudo apt-get update
sudo apt-get upgrade

Installing Essential Packages

sudo apt-get install build-essential
sudo apt-get install git

Cleanup

sudo apt-get autoremove

Clone the repository under /home/vagrant/Code/ inside the Homestead environment.

 git clone https://github.com/mybb/mybb2.git
mv mybb2* .

Give write permissions to the storage/ directory.

 chmod -R 777 storage/

Install Composer dependencies.

 composer install

Create your environment file and edit it accordingly. 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

Publish assets by packages

 php artisan vendor:publish

Install migrations table and run migrations.

 php artisan migrate:install
 php artisan migrate

Add Debug Data (aka Seeds)

 php artisan db:seed