This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Install Development Copy
John O. Brennan edited this page Sep 5, 2016
·
16 revisions
- 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.
Downloading Updates
apt-get update
apt-get upgrade
Installing Essential Packages
apt-get install build-essential
Clone the repository under /home/vagrant/Code/
inside the Homestead environment.
```shell
$ git clone git@github.com:mybb/mybb2.git
```
Give write permissions to the storage/
directory.
```shell
$ chmod -R 777 storage/
```
Install Composer dependencies.
shell $ 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.
```shell
$ cp .env.example .env
$ vim .env
```
Publish assets by packages
$ php artisan vendor:publish
Install migrations table and run migrations.
```shell
$ php artisan migrate:install
$ php artisan migrate
```
Add Debug Data (aka Seeds)
$ php artisan db:seed