Skip to content

detronetdip/E-commerce

Repository files navigation

E-commerce

A multi vendor e-commerce website with admin panel, seller panel and deliveryboy panel

All Stars       

Build with ❤️ and

HTML5  CSS3   JAVASCRIPT  PHP   MYSQl   docker

How to run

You can run this project by manually setting up everything or you can simply run it with docker or docker-compose to avoid overhead hustles

Run with docker

To run this with docker please run the following commands. Please make sure that docker is installed in your system.

 > git clone https://github.com/detronetdip/E-commerce.git
 > cd {to your cloned path}/E-commerce/
 > docker build -t app -f Dockerfile .
 > cd database
 > docker build -t app_database -f Dockerfile .
 > docker run \
     --name database \
     -e MYSQL_ROOT_PASSWORD='passwd' \
     -p 9306:3306 app_database
 > docker run --name web_app -p 3000:80 app
  • Go to your browser and type http://localhost:3000 and the whole project is ready to use.

Run with docker-compose

To run this with docker-compose please run the following commands. Please make sure that docker and docker-compose is installed in your system.

 > git clone https://github.com/detronetdip/E-commerce.git

 > cd {to your cloned path}/E-commerce/`

 > docker-compose up -d --build
  • Go to your browser and type http://localhost:3000 and the whole project is ready to use.
  • *if you initialy encoutered connection refused error please wait for few seconds and relod the page.