Skip to content

dazimax/CRUD_Laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. Install docker, docker-compose
  2. Setup the network in docker-compose.yml 2.1) Comment out the external network 2.2) Enable the new network

networks: app_net: driver: bridge ipam: driver: default config: - subnet: 10.0.0.0/24 gateway: 10.0.0.1

  1. Add host to /etc/hosts file

    10.0.0.10 dev.ecommerce.com

  2. Up (First time) and Start the docker-composer

    docker-compose up

  3. Migrate Database tables and demo data

    php artisan db:migrate php artisan db:seed --class=DatabaseSeeder

  4. After containers loaded visit the http://dev.ecommerce.com

About

Basic Laravel MVC application CRUD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published