Code Monkey home page Code Monkey logo

testelaravel8's Introduction

Teste laravel 8

Clone do repositório
Configurações iniciais Laravel
  • criando arquivo .env
    • comando: cp .env.example .env

docker

  • levantar containers
    • comando: docker-compose up -d

composer

  • Para rodar o composer precisamos entrar no container segue os comandos
    • docker exec docker-laravel8-teste composer install

Banco

  • Foi utilizado um banco simples SQLITE segue a baixo o comando para criar os arquivos na pasta correta
    • comando: touch database/database.sqlite

Permissões de arquivo

  • temos que dar permissões em alguns arquivos
    • sudo chmod 777 -R bootstrap/cache/
    • sudo chmod 777 -R storage/
    • sudo chmod 777 -R database/

Migrations

  • docker exec docker-laravel8-teste php artisan migrate

imgs search

![alt text](alt text"Search")

imgs crud

![alt text](alt text"crud")

testelaravel8's People

Contributors

rafaelssilva35 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.