Giter VIP home page Giter VIP logo

laravel-vuejs-docker's Introduction

About Laravel+Vuejs+Docker+Docker compose

This project laravel+Vuejs is based on docker and docker-compose

Table of content

Prerequisites


Make sure you have insalled the following prerequisites in your development or production machine.

Technologies


List of technologies which are used in this project.

  • PHP : Version 7.3
  • Laravel: Version 8.x
  • MySQL: Version 8
  • Node: Version 14.15.0

Setup Environment for Development:

  • Copy .env.example to .env.
  • Build docker-compose build.
  • Run docker-compose up -d for development purpose.
  • Open favourite browser and type http://localhost. If you wan to run on different port, you can change the HTTP_PORT from .env file.
  • Generate key docker exec bakend-end php artisan key:generate
  • If you want to install a npm package then run docker exec front-end npm install <Package_Name>.
  • If you want to install compose package then run docker exec back-end compose install <PACKAGE_NAME>.

Setup Environment for Production:

  • Copy .env.example to .env.
  • Change the necessary staff in .env file.
  • Run docker-compose -f docker-compose.production.yml up for production.
  • Open favourite browser and type http://localhost. If you wan to run on different port, you can change the HTTP_PORT from .env file.
  • If you want to install a npm package then run docker exec front-end npm install <Package_Name>.
  • If you want to install compose package then run docker exec back-end compose install <PACKAGE_NAME>.

Contribute

Contribution are alwasy welcome! Please read the contribution guidelines first.

  • Fork this project to your personal account.
  • Create your feature branch git checkout -b feature/foo.
  • Commit your changes git commit -am 'Add some foo.
  • Push to the branch git push origin feature/foo.
  • Create a new Pull Request.

License

The theme is available as open source under the terms of the MIT License.

laravel-vuejs-docker's People

Contributors

nimatrazmjo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

laravel-vuejs-docker's Issues

Docker not working with Mac OS

On executing docker-compose build, i am getting the following error in the console.

failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount1638961496/Dockerfile: no such file or directory
ERROR: Service 'server' failed to build : Build failed

Any workaround in that

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.