Skip to content

Latest commit

 

History

History
54 lines (47 loc) · 2.08 KB

README.md

File metadata and controls

54 lines (47 loc) · 2.08 KB

ece-piscine Amazon

An eCommerce Web Platform written in HTML5, CSS, javascript and PHP using Laravel Framework. ECE piscine Amazon.

Installation

To quickly install Composer in the current directory, run the following script in your terminal.

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '48e3236262b34d30969dca3c37281b3b4bbe3221bda826ac6a9a62d6444cdb0dcd0615698a5cbe587c3f0fe57a54d8f5') { echo 'Installer verified';  } else { echo 'Installer corrupt'; unlink('composer-setup.php');  } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

After running the installer you can run this to move composer.phar to a directory that is in your path:

mv composer.phar /usr/local/bin/composer

Now, download the Laravel installer using Composer:

composer global require laravel/installer

Clone this repo and change to the directory. Then run:

composer install

Usage

Run:

php artisan serve

And

php artisan migrate --seed

Go to http://localhost:8000 (or any indicated address) and voilà!

References