Installing Supervisor on OS X is simple:
sudo pip install supervisor
This assumes you have pip. If you don't:
| <?php | |
| class Request | |
| { | |
| private $is_last_session_id; | |
| public function send($s_url, $data) | |
| { | |
| $params = [ |
| import Vue from 'vue'; | |
| import Auth from '../mixins/user-auth'; | |
| import makeUserStore from '../store/user'; | |
| new Vue({ | |
| mixins: [Auth], | |
| el: '.auth-wrapper', | |
| store: makeUserStore(), | |
| async mounted() { | |
| let user = await this.__getUser(); |
| index index.php index.html; | |
| root /your/path/to/the/sendy; | |
| location = / { | |
| index index.php; | |
| } | |
| location / { | |
| if (!-f $request_filename){ | |
| rewrite ^/([a-zA-Z0-9-]+)$ /$1.php last; |
| #!/bin/bash | |
| # install homebrew | |
| ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| # install homebrew's official php tap | |
| brew tap josegonzalez/homebrew-php | |
| [ | |
| { | |
| "id": "1", | |
| "name": "Short Sleeves", | |
| "created_at": "2014-05-28 19:03:55", | |
| "updated_at": "2014-05-28 19:04:45", | |
| "category_products": [ | |
| { | |
| "id": "3", | |
| "category": "1", |
| { | |
| "vars": { | |
| "@gray-base": "#000", | |
| "@gray-darker": "lighten(@gray-base, 13.5%)", | |
| "@gray-dark": "lighten(@gray-base, 20%)", | |
| "@gray": "lighten(@gray-base, 33.5%)", | |
| "@gray-light": "lighten(@gray-base, 46.7%)", | |
| "@gray-lighter": "lighten(@gray-base, 93.5%)", | |
| "@brand-primary": "darken(#428bca, 6.5%)", | |
| "@brand-success": "#5cb85c", |
[2015-02-13 22:50:01] staging.ERROR: Error 500 on GET http://dev.viralstyle.com/client/campaigns/datatable/upsell: exception 'ErrorException' with message 'Trying to get property of non-object' in /var/www/viral-tees/htdocs/app/library/Datatables/Client/ColumnHelpers/UpsellColumnHelperTrait.php:16 Stack trace: #0 /var/www/viral-tees/htdocs/app/library/Datatables/Client/ColumnHelpers/UpsellColumnHelperTrait.php(16): Illuminate\Exception\Handler->handleError(8, 'Trying to get p...', '/var/www/viral-...', 16, Array) #1 /var/www/viral-tees/htdocs/app/library/Datatables/Client/Upsells/UpsellDatatable.php(33): ViralTees\Library\Datatables\Client\Upsells\UpsellDatatable->getShirtColumn(Object(Campaign)) #2 /var/www/viral-tees/htdocs/app/library/Datatables/AbstractDatatable.php(235): ViralTees\Library\Datatables\Client\Upsells\UpsellDatatable->ViralTees\Library\Datatables\Client\Upsells{closure}(Object(Campaign)) #3 /var/www/viral-tees/htdocs/app/library/Datatables/AbstractDatatable.php(264): ViralTees\Library\Data