Skip to content

bashmach/ggf

 
 

Repository files navigation

Good Gateway Football Build Status

Demo

![Gitter](https://badges.gitter.im/Join Chat.svg)

Setup development environment with Homestead (per-project installation)

  1. Clone project

  2. Run the following command to prepare project and install vendors:

    EMBER_ENV=development composer setup
    
  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 (http://laravel.com/docs/5.0/homestead#installation-and-setup):

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

    vagrant up
    
  5. Next, you should login to your virtual box through vagrant ssh and run the following command in the root folder of application:

    php artisan migrate
    
  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

About

GoodGateway Football's Interface

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 73.6%
  • JavaScript 18.9%
  • HTML 5.3%
  • CSS 1.2%
  • Nginx 0.4%
  • Shell 0.4%
  • ApacheConf 0.2%