This is a shop build on top of Laravel using Aimeos Laravel Package.
This project is part of in2it PHP Bootcamp training course. Feel free to contact us for more details and to schedule a training at your offices (BENELUX only).
Please check you meet the following requirements:
- PHP 5.6.4 (or higher)
- MySQL 5.7.16 (or higher)
All stories have a beginning and so does this project. You can read the Laravel Documentation and Aimeos Documentation to get started quickly, but we've done all the grunt work for you.
Just follow these steps and you should be all-right.
This application requires a database, the easiest way is to set up MySQL Community Server and add the following:
- database "homestead"
- username "homestead@localhost"
- password "secret"
These are the default settings for Laravel and are working great for the goal of this training.
mysql -uroot -p
password: ******
mysql> create database homestead;
mysql> create user homestead@localhost identified by 'secret';
mysql> grant all on homestead.* to homestead@localhost;
mysql> \q
If you didn't received an invitation from us for our classroom, please contact @dragonbe or @bartmcleod to provide you the invitation link.
cd /path/to/workspace
git clone git@git@github.com:in2it-training-<username>/phpbootcamp-shop.git phpbootcamp-shop
cd phpbootcamp-shop
You need Composer to continue as we're needing several packages to continue.
composer install
cp .env.example .env
Depending on your database settings, if you followed from the beginning these default settings are going to be enough.
Next thing you need to do is set an application key
php artisan key:generate
In the last step you must now execute these artisan commands to get a working or updated Aimeos installation:
php artisan vendor:publish
php artisan migrate
php artisan aimeos:setup --option=/default/demo:1
php artisan aimeos:cache
php artisan serve
Now point your browser to localhost:8000/list to see the webshop application.
That's it!!!