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 make
on Mac/Linux,vendor\\bin\\homestead make
on Windows) - Edit
.env
and setAPP_KEY
to 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_DEBUG
totrue
- Run
vagrant up
to start the Vagrant box - In order to build and seed the database, type
vagrant ssh
to SSH into the Vagrant box, thencd pac12
andphp artisan migrate:refresh --seed
to run the database migrations and seed the database
You can now access the app in a web browser at the address
http://localhost:8000/
.