Distilleries / Xyz

X.y.z is a fresh instance of laravel 5.* with Expendable package configured. Check the require before install it.
6 stars 2 forks source link

Default Laravel project with Expendable

X.y.z is a fresh instance of laravel 5.* with Expendable package configured. Check the require before install it.

Table of contents

  1. Require
  2. Installation
    1. Create project
    2. Environment and configuration
      1. Database and translation configuration
      2. Vhost

Require

To use this project you have to install:

  1. Php 5.6 or more
  2. Active mpcrypt
  3. Composer (https://getcomposer.org/download/)[https://getcomposer.org/download/]
  4. Sass (gem install sass)
  5. NodeJs version 3.0.0
  6. npm run dev

Installation

1.Create project

When you want create a new empty project with composer use this command:

composer create-project distilleries/xyz

If you doesn't want use composer just checkout the project and run composer install:

git clone https://github.com/Distilleries/Xyz.git
composer install

2.Environment and configuration

Database and translation configuration

  1. Edit .env file and put the name of your environment (local,production,staging...).
  2. Edit .env add your database ocnfiguration.

Create your database and after run the update composer:


composer update

Vhost

Configuration your virtual host with /public folder in site root.

If everything was done without error you can access to the url /admin. If you want to connect a the back end just run the seed command.

php artisan db:seed

After that take one user email address from the table users and use the password test.