Skip to content

nixsolutions/ggf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Good Gateway Football

Demo

Achievements

Build Status

Dependency Status

Scrutinizer Code Quality

Setup development environment with Homestead (per-project installation)

  1. Clone project

  2. Run the following command to set up project:

    bin/setup.sh -e vagrant
    
  3. Setup homestead/vagrant environment:

    ./vendor/bin/homestead make
    

    Remove the following lines from Homestead.yaml if you don't have this SSH keys on your machine (https://laravel.com/docs/master/homestead#installation-and-setup):

     authorize: ~/.ssh/id_rsa.pub
     keys:
         - ~/.ssh/id_rsa
    
  4. Run vagrant

    vagrant up
    
  5. Run the following command to prepare project (like run migration, build frontend):

    EMBER_ENV=development bin/post-install.sh
    
  6. Add facebook settings to .env:

     FACEBOOK_APP_ID=1
     FACEBOOK_APP_SECRET=1
     FACEBOOK_REDIRECT_URI=http://192.168.10.10/
    
  7. Finally, browse http://192.168.10.10, you should see the main page of application.

Testing

Add new database to the particular list in Homestead.yaml:

databases:
    - homestead
    - homestead_test

Reload vagrant and run phpunit:

vendor/bin/phpunit