Elephpant Traders
October 5, 2017 ยท View on GitHub
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 installfrom the project root - Run
npm installfrom project root - Copy
.env.exampleto.env - Run
/vendor/bin/homestead make && vagrant upto 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:generateto generate a new application key - Run
yarn run devto build the front end. - On your local, add
homestead.dev 192.168.10.10to your/etc/hostsfile. - Navigate to
homestead.devin a browser.