Elephpant Traders
Code behind elephpanttrade.com.
This is a WIP, yo.
Prerequesites
You must have Vagrant 1.9.0+, PHP 7, Composer, NodeJS 6+, NPM, and Yarn available to use on your machine.
Getting up and running
- Clone this repo to your local machine
- Cd into the project directory
- Run
composer install
from the project root - Run
npm install
from project root - Copy
.env.example
to.env
- Run
/vendor/bin/homestead make && vagrant up
to install and start VM. - SSH into Vagrant box with
vagrant ssh
- Cd into the project, and run our migrations
php artisan migrate
- Run
php artisan vendor:publish --provider="Tymon\JWTAuth\Providers\JWTAuthServiceProvider"
- Run
php artisan key:generate
to generate a new application key - Run
yarn run dev
to build the front end. - On your local, add
homestead.dev 192.168.10.10
to your/etc/hosts
file. - Navigate to
homestead.dev
in a browser.