- Clone repo
- Install Laravel dependencies (requires composer)
composer install
You may have to modify your php.ini and setopcache.fast_shutdown=0
if you receive an error aboutzend_mm_heap
. - Make sure dependencies like Facebook SDK is included by running
composer update
- Install grunt (requires npm)
npm install --save-dev
- Generate a unique crypto-key with
php artisan key:generate
- Configure
app/config/app.php
to your liking - Create a database and configure
app/config/database.php
- Configure
app/config/facebook.php
- Run
php artisan migrate
You may need to set permissions on the storage folder: chown -R www-data:www-data app/storage/
. The user:group combo may be different on your system.
Optionally, you can populate the database with some dummy data by running php artisan db:seed
Sometimes you may need to run composer dump-autoload
after updating. This applies when classes have moved or been added.
Either run deploy.sh
or the following:
- Checkout unminified HTML templates:
git checkout -- app/views/
- Minify the JS and modify HTML references:
grunt build