title: Setting Up Laravel in Ubuntu / DigitalOcean keywords: servers, laravel, coderstape, coder's tape description: Let's take a look at settting up a server from scratch for Laravel. date: April 1, 2019 tags: servers, laravel permalink: setting-up-laravel-in-ubuntu-digitalocean img: https://coderstape.com/storage/uploads/GZTXUbyGum2xeUZM9qBD5aPv8EKLwG3C8RGcRon4.jpeg author: Victor Gonzalez authorlink: https://github.com/vicgonvt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//autoloader | |
require_once __DIR__ . '/vendor/autoload.php'; | |
use Aws\S3\S3Client; | |
use Aws\S3\Enum\CannedAcl; | |
//init client | |
$s3Client = S3Client::factory(array( | |
'key' => '<key>', | |
'secret' => '<secret>', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DELIMITER $$ | |
CREATE TRIGGER validate_count_register_user | |
BEFORE INSERT | |
ON usuarios_registros FOR EACH ROW | |
BEGIN | |
DECLARE rowcount INT; | |
SELECT COUNT(*) | |
INTO rowcount |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
//CSS | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APIs | |
http://hybridauth.sourceforge.net/ | |
https://www.runscope.com/ | |
http://requestb.in/ | |
https://apigee.com/providers | |
AUTH | |
http://hybridauth.sourceforge.net/ | |
DATABASE |