Skip to content

Installation

Adham Saad edited this page Oct 26, 2016 · 2 revisions

Installation Steps

1- clone this repo and install prerequisites

$ git clone git@github.com:camelcasetechsd/testing-engine.git
$ composer install 
$ npm install -g yarn # install yarn globally , yarn is faster than npm
$ yarn 

2- Homestead steps

  • copy Homestead.yaml.example to Homestead.yaml and edit the pathes in the file to your pathes
  • run vagrant up , this will install box laravel/homestead v0.4.4 in case you don't have it

3- copy .env.example to .env and edit DB settings to the settings you have on your local machine

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=testing_engine
DB_USERNAME=homestead
DB_PASSWORD=secret

4- edit your /etc/hosts file and add this line to point to homestead IP 192.168.10.10 local-testing-engine.com

5- ssh to the vagrant machine and run the migration

$ vagrant ssh 
$ cd /vagrant 
$ php artisan migrate --seed

6- You can now go and visit http://local-testing-engine.com/

N.B. : please follow [Technical Notes](https://github.com/camelcasetechsd/testing-engine/wiki/Technical-Notes ])

Clone this wiki locally