Snippets

Aléx Oliveira Passos para instalar Laravel

Created by Aléx Oliveira last modified
1       Instalar Laravel
1.1     Executar no terminal: "composer create-project --prefer-dist laravel/laravel nomedoprojeto"
2       Permissões para os arquivos e pastas. Os passos estão logo abaixo.
3       Na raiz do projeto executar "npm install" para instalar as bibliotecas JS
4       Instalar Painel de controle https://github.com/jeroennoten/Laravel-AdminLTE
5       Instalar a tradução https://github.com/caouecs/Laravel-lang
6       Instalar pacote https://github.com/artesaos/seotools que é uma ferramenta para ajudar na criação das meta tags
7       Instalar pacote https://github.com/Zizaco/entrust que é utilizado para o controle de usuários
8		Instalar pacote https://laravelcollective.com/docs/5.4/html para ajudar na criação dos formulários
9		[opcional] Instalar pacote Laravel Debugbar https://github.com/barryvdh/laravel-debugbar



## Após rodar o passo 1.1
find . -type d -exec chmod 0755 {} \;
find . -type f -exec chmod 0644 {} \;
find storage -type d -exec chmod 0775 {} \;
find storage -type f -exec chmod 0664 {} \;
find bootstrap/cache -type d -exec chmod 0775 {} \;
find bootstrap/cache -type f -exec chmod 0664 {} \;

Comments (1)

  1. Gabriela Linck

    Segue alguns pacotes básicos e instruções para depois da instalação do framework:

    outros pacotes: -> File manager: http://unisharp.github.io/laravel-filemanager/installation

    -> Sluggable: https://github.com/cviebrock/eloquent-sluggable

    -> Sitemap: https://github.com/spatie/laravel-sitemap

    -> Intervention image: http://image.intervention.io/getting_started/installation

    -> Image cache: https://github.com/Intervention/imagecache

    -> no composer adicionar o doctrine: "doctrine/dbal": "^2.5"

    mudar o nome da aplicação: php artisan app:name nomedaaplicação

    adicionar o helper: no composer.json, no "autoload" adicionar este código -> "files": [ "app/Helpers/functionsHelper.php" ]

    depois de tudo git init -> não esquecer de comitar antes de dar push!

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.