A simple e-commerce project using laravel 5. live app preview
To get the project up and running on your local machine, do the following
- clone it => git clone https://github.com/leantony/ecommerce.git
- create a .env file at the root of the project. You can copy one from => https://github.com/laravel/laravel/blob/master/.env.example
- configure your DB credentials, and laravel encryption key. The laravel encryption key can be generated using the command
php artisan key:generate
- create your DB and run the migrations, and database seeders found in the migrations folder, using the commands below
# run all migrations
php artisan migrate
# seed the database. seed data isn't available just yet, but will be added soon
php artisan db:seed
- Install bower, nodejs and gulp. Just Google on how to do this
- cd into the resources folder, and run the command => bower install
- Once you have nodejs and gulp ready, install laravel elixir. You can find instructions on how to do this at http://laravel.com/docs/5.1/elixir#installation
- Then execute the default gulp task using the command => gulp default
- Once the assets are published, run the command
php artisan serve
-
visit the site at localhost port 8000
-
NB# This is just an experimental project, done for fun, trying to learn more of the laravel framework.