Git Product home page Git Product logo

spa-laravel-vue2-docker-todo's Introduction

Codacy Badge

Dockerized Laravel & Vue.js TODO application

Docker running Nginx, PHP, Composer and MySQL.

Overview

  1. Install prerequisites

    Before installing project make sure the following prerequisites have been met.

  2. Clone the project

    We’ll download the code from its repository on GitHub.

  3. Setup the application

    By this point we’ll have all the project pieces in place.

  4. Start/stop the application

  5. Useful commands


Install prerequisites

For now, this project has been mainly created for Unix (Linux/MacOS). Perhaps it could work on Windows.

All requisites should be available for your distribution. The most important are :

Check if docker-compose is already installed by entering the following command :

which docker-compose

Check Docker Compose compatibility :

The following is optional but makes life more enjoyable :

which make

Clone the project

To install Git, download it and install following the instructions :

git clone https://github.com/ian-patel/spa-laravel5-vue2-todo.git

Go to the project directory :

cd spa-laravel5-vue2-todo

Setup the application

  1. Run this magic command

    make setup
  2. Migrate database

    make setup-database
    
    
    

Start the application

Start the application using docker

make docker-start

Application is ready on localhost 8003 port.

http://localhost:8003/

Stop the application

Stop the application using docker

make docker-stop

Useful commands

PHPUnit test

make phpunit

List artisan commands :

make artisan

Start artisan tinker :

make tinker

Connecting MySQL

host:     127.0.0.1
port:     33063
database: todo
username: who
password: what

Developed by @patel_ian

spa-laravel-vue2-docker-todo's People

Contributors

ian-patel avatar

Stargazers

 avatar

Watchers

 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.