This guide will help you get a starting point for implementing React into a default install of Laravel v5.3.
cd application
npm install --save react react-dom| FROM php:7.1-apache | |
| ADD . /var/www | |
| ADD ./site.conf /etc/apache2/sites-enabled/000-default.conf | |
| RUN apt-get update && apt-get install -y libmcrypt-dev mysql-client && \ | |
| docker-php-ext-install mcrypt pdo_mysql opcache && \ | |
| pecl install redis-3.1.2 && docker-php-ext-enable redis && \ | |
| a2enmod rewrite |
| # Installation | |
| As far as I know this is how to get Passport on Laravel Spark working correctly, it works so far for me over the API but there might be something I am still missing. | |
| I am using the following software versions in composer.json: | |
| ``` | |
| "require": { | |
| "php": ">=5.6.4", | |
| "laravel/framework": "5.3.*", |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
| Afghanistan | |
| Albania | |
| Algeria | |
| Andorra | |
| Angola | |
| Antigua & Deps | |
| Argentina | |
| Armenia | |
| Australia | |
| Austria |
| packages: | |
| yum: | |
| php55-fpm: [] | |
| files: | |
| "/opt/elasticbeanstalk/hooks/appdeploy/pre/26_phpfpm_config.sh": | |
| mode: "000755" | |
| owner: root | |
| group: root | |
| content: | |
| SOPA Emergency IP list: | |
| Here’s how to access your favorite sites in the event of a DNS takedown | |
| tumblr.com 174.121.194.34 | |
| wikipedia.org 208.80.152.201 | |
| # News | |
| bbc.co.uk 212.58.241.131 | |
| aljazeera.com 198.78.201.252 |
| set nocompatible " Disable vi-compatibility | |
| set t_Co=256 | |
| colorscheme xoria256 | |
| set guifont=menlo\ for\ powerline:h16 | |
| set guioptions-=T " Removes top toolbar | |
| set guioptions-=r " Removes right hand scroll bar | |
| set go-=L " Removes left hand scroll bar | |
| set linespace=15 |
| var spotify_api = ""; | |
| function roll(){ | |
| $.get(spotify_api,function(d){ | |
| var music = "♫ "+ d.track.track_resource.name + " -- " + d.track.artist_resource.name | |
| $('#status_input').val(music).next().click() | |
| setTimeout(roll,2000); | |
| }); | |
| } |