- PHP >= 5.5.9
- OpenSSL PHP Extension
- PDO PHP Extension
- Mbstring PHP Extension
- Tokenizer PHP Extension
- MySQL
Install :
- wampserver (or other WAMP plateform)
- gitbash
- node.js
Clone the repository
$ git clone [email protected]:PNEXTIA/techiteasy.git
Run composer install
to setup all vendors
Next you must ensure that NodeJS is installed on your machine
$ node -v
If not you can download it here
Install Gulp
$ npm install --global gulp
And run
$ npm install
Then you can run Elixir
// Run all tasks...
$ gulp
// Run all tasks and minify all CSS and JavaScript...
$ gulp --production
Check if .env
already exists
If not, create them from the .env.example
files
Set the application debug mode to true in .env
And set your local project base url too
APP_DEBUG=true
if you are a windows user, execute mysql into mysql directory
Create your local database
#!sql
mysql> CREATE DATABASE `techiteasy`;
Set mysql connection parameters in .env
with your localhost database informations
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=techiteasy
DB_USERNAME=root
DB_PASSWORD=root (or other, for example, on wampserver, there is no password)
Then run the database migration with the command php artisan migrate
Last step run the seed of the database with php artisan db:seed
php artisan key:generate
This is VERY IMPORTANT, please read this before start to work on the project :
- PSR-0 - Autoloading standard
- PSR-1 - Basic coding standard
- PSR-2 - Coding style guide
- PSR-4 - Autoloader
TL;DR ??? Just take a look at PSR-1 and PSR-2...
Read : GitFlow
Every new branch must start with it type. For example my-new-super-post-form
isn't a good name, feature/super-post-form
is better. It's most cleaner and practical to make filters.
List all test
branches :
$ git branch --list "test/*"
login : admin
password : toor
##About Laravel
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, queueing, and caching.
Laravel is accessible, yet powerful, providing powerful tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.
Documentation for the framework can be found on the Laravel website.
The Laravel framework is open-sourced software licensed under the MIT license
use Git Bash
$ cd C:/wamp/www/techiteasy
$ git checkout master
move on branches
$ git pull origin master
update branches
when somebody write on database we need to migrate PHP like :
$ php artisan migrate