Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 1.24 KB

readme.md

File metadata and controls

30 lines (16 loc) · 1.24 KB

E-COMMERCE BY Destiny Obamwonyi.

For project view :

please if you simply want to view the project go to the heroku url given below https://destinedwebe-commerce.herokuapp.com

Documentation for the e-commerce project :

NOTE : to run this project on a local machine please add the file to your htdocs (if you are using XAMPP, WAMPP,LAMPP or MAMPP or any related php/apache server) and navigate to the e-commmerce directory, then the .htaccess files can handle the routing from there .

If you intend to run this on the local php server please use this (rememer to remove the htaccess files there is one in the root and another in the public directory )

CODE: php -S localhost:8080 -t public

Project dependencies :

  • Vlucas : for loading env files .
  • Filp/whoops : for local trouble shooting (with detailed errors)
  • Symphony/console : for implementing terminal commands for my migrations

Database configuration :

  • Connection: This can be found in /app/Config/database.php (as a returned array) cans also be found in /config/database
  • Migrations: This can be found in /database/migrations, to run the migration please use the code below(run composer update before it ).

CODE: php command.php migrate --fresh

_