Code Monkey home page Code Monkey logo

laravel.io's Introduction

Laravel.IO Community Portal

Build Status

Scrutinizer Code Quality

Coverage Status

SensioLabsInsight

This is the Laravel.IO community portal site. The site is entirely open source and community involvement is not only encouraged, but required in order to ensure the future success of the project.

Requirements

We use Laravel Homestead for local development. Please review the Homestead documentation to install it.

In order to compile stylesheets you will also need Ruby, Sass, and Compass installed.

Local Installation

Here are the steps for installation on a local machine.

  1. Make sure you have Laravel Homestead installed.

  2. Clone this repository.

    git clone [email protected]:LaravelIO/laravel-io.git laravelio/
    cd laravelio/
    
  3. Add the path for the cloned laravel.io repository to the Homestead.yml file under the folders list.

  4. Add a site lio.loc for the laravel.io repository to the Homestead.yml file under the sites list.

  5. Run vagrant provision in your Homestead folder.

  6. Create a database in Homestead called laravelio.

  7. Run composer install --dev and php artisan migrate --env=local.

  8. Add 192.168.10.10 lio.loc to your computer's hosts file.

You can now visit the app in your browser by visiting http://lio.loc/.

Github OAuth Configuration

Now, we must install the oauth configuration.

  1. Create an application in your github account called something like "Laravel IO Development" and add your GH application's client id and secret to this config file. Your GitHub Application should be set up as follows:

    a. Full URL: http://lio.loc b. Callback URL: http://lio.loc/login

  2. Create the configuration file below at app/config/packages/artdarek/oauth-4-laravel/config.php

<?php

return [
    'storage' => 'Session',

    'consumers' => [
        'GitHub' => [
            'client_id'     => 'YOUR_NEW_CLIENT_ID_HERE',
            'client_secret' => 'YOUR_NEW_CLIENT_SECRET_HERE',
            'scope'         => ['user'],
        ],
    ],
];

Frontend

Because we keep the generated / minified css out of the repository, we must have a workflow for compiling the styles.

  • Be sure you have Ruby, Sass, and Compass installed on your machine
  • When running any compass command in the terminal, be sure to run it from your /public folder.
  • Compass is the tool used to compile Sass source files into CSS files; you can run compass compile to run it once, or compass watch to trigger a script that will watch your Sass files for changes and trigger a new compass compile on each change

Maintainer

The Laravel.IO project is currently maintained by Dries Vints. If you have any questions please don't hesitate to ask them in an issue or email me at [email protected].

Testing

All tests can be run with the following command. Make sure to run this inside the Homestead box.

$ vendor/bin/phpunit

Contributing

Please see CONTRIBUTING for details.

License

The MIT License (MIT). Please see License File for more information.

laravel.io's People

Contributors

driesvints avatar nickstr avatar mitchellvanw avatar clauddiu avatar grahamcampbell avatar justinseiter avatar msurguy avatar ryanwinchester avatar anthonyconklin avatar mattstauffer avatar barryvdh avatar summerblue avatar spencerdeinum avatar mcraz avatar anlutro avatar edrands avatar c4pone avatar ianlandsman avatar meroje avatar greydnls avatar machuga avatar punkeel avatar ravigehlot avatar fitztrev avatar ashernevins avatar diegofelix avatar sephvelut avatar harhoo avatar irfanevrens avatar zanmoskotevc avatar

Watchers

Vrigz Alejo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.