Skip to content

Instantly share code, notes, and snippets.

@joeymetal
joeymetal / laravel_deploy.md
Created March 6, 2019 14:35 — forked from hamog/laravel_deploy.md
Deploy laravel 5 application on shared hosting.

Deploy Laravel 5 application on shared hosting

Server Requirements (Laravel 5.4)

  • PHP >= 5.6.4
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
@joeymetal
joeymetal / index.html
Created February 24, 2019 15:51 — forked from samuelsonbrito/index.html
CDN Materialize
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/css/materialize.min.css">
@joeymetal
joeymetal / persistence.xml
Created July 22, 2018 18:55 — forked from samuelsonbrito/persistence.xml
Configuração JPA Hibernate
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
<!-- Unidade de persistencia -->
<persistence-unit name="seuPU">
<!-- Implementação do JPA -->
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
<!-- Lista de entidades -->
<class>suaClasse</class>
<properties>
<!-- Propriedades JDBC -->
@joeymetal
joeymetal / deploy.php
Created July 25, 2016 19:11 — forked from brunofonseca/deploy.php
Arquivo de Configuração deploy
<?php
require 'recipe/symfony.php';
server('NOME_SERVIDOR', 'IP_SERVIDOR', PORTA_SSH)
->user('USUARIO')
->forwardAgent()
->stage('PRODUCTION_DEVELOPMENT_TESTE')
->env('deploy_path', 'caminho');