Official repository for the PAC 12 Challenge website using the Laravel PHP framework
IMPORTANT: This repo is no longer under development and has been archived.
Requires PHP (5.6+), Composer, Vagrant (1.7.4+), and Virtualbox
- Install dependencies with Composer using the command
php composer.phar install - Install the Laravel Homestead Vagrant box using the command
vagrant box add laravel/homestead - Generate
Homestead.yaml(php vendor/bin/homestead makeon Mac/Linux,vendor\\bin\\homestead makeon Windows) - Edit
.envand setAPP_KEYto a value that's 32 bytes long (since this is for development only, it could be any 32 ASCII characters). For useful debugging info when something goes wrong, also setAPP_DEBUGtotrue - Run
vagrant upto start the Vagrant box - In order to build and seed the database, type
vagrant sshto SSH into the Vagrant box, thencd pac12andphp artisan migrate:refresh --seedto run the database migrations and seed the database
You can now access the app in a web browser at the address
http://localhost:8000/.