Giter Site home page Giter Site logo

101-backend's Introduction

SBIT - Backend

Laravel based small business inventory tracking using Docker Environment

Prepare for development environment

  1. Docker installed
  2. Clone repo [email protected]:unit-6/101-backend.git
  3. Copy docker-compose.yml.example and rename to docker-compose.yml.example
  4. Check current exposed ports at docker-compose.yml, make sure all these ports can be used at localhost:-
  • nginx - :8080
  • mysql - :3306
  • php - :9000
  1. Navigate in terminal to the cloned directory and run docker-compose up -d
  2. Run docker ps to check current container running:-

docker-result 7. Project URL:-

  • Laravel - http://localhost:8080/
  • phpmyadmin - http://localhost:8081/

Docker Commands

  • docker-compose up -d --build site
  • docker-compose up -d
  • docker-compose down
  • docker images
  • docker images -a
  • docker ps
  • docker ps -a
  • docker system prune
  • docker system prune -a

Laravel Project

Laravel project will be started at src folder. Three additional containers are included that handle Composer, NPM, and Artisan commands without having to have these platforms installed on your local computer. Use the following command examples from your project root:-

  • docker-compose run --rm composer install
  • docker-compose run --rm composer update
  • docker-compose run --rm artisan key:generate
  • docker-compose run --rm artisan migrate
  • docker-compose run --rm artisan migrate:fresh --seed

Contribute to project

  1. Create new issue
  2. Assignees: tag youself
  3. Labels:-
  • to do - Task not yet do (compulsory)
  • doing - Task start (compulsory)
  • enhancement - New feature (optional)
  • bug - Need fixing (optional)
  • documentation - improve documents (optional)
  1. Create new branch from Master branch
  2. Create pull request
  3. Link pull request with issue using keyword: closes <paste issue link here>
  4. Reviewer: @miesaf

101-backend's People

Contributors

miesaf avatar wasddsaw 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.