Question and answer app for Silicon Mountain Question & Answer Conference
###Setting up Quizer locally Clone https://github.com/silicon-mountain/quizer
Set a virtual host with the url http://quizer.dev
<VirtualHost *:80>
DocumentRoot /var/www/html/quizer/public
ServerName quizer.dev
ServerAlias quizer.dev
</VirtualHost>
If you don not want to use a virtual host, php -S localhost:8888 will do, and config hosts file to map quizer.dev to localhost:8888
- Make sure composer is installed
- PHP >= 5.4
cd to quizer root directory run:
- composer update
- Locate .env file in root directory and edit database config
- DB_HOST=localhost
DB_DATABASE=quizer
DB_USERNAME=root
DB_PASSWORD=root - Run php artisan migrate
With that, you ready to get your hands dirty.