Giter VIP home page Giter VIP logo

laravel.io's Introduction

Laravel.io Community Portal

Build Status

[![Code Climate](https://codeclimate.com/github/LaravelIO/laravel.io/badges/gpa.svg)](https://codeclimate.com/github/LaravelIO/laravel.io) [![Test Coverage](https://codeclimate.com/github/LaravelIO/laravel.io/badges/coverage.svg)](https://codeclimate.com/github/LaravelIO/laravel.io/coverage) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](license.txt)

SensioLabsInsight

This is the repository for the Laravel.io community portal. The code is entirely open source and licensed under the MIT license. Feel free to contribute to the portal by sending in a pull request.

Table of Contents

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.

Installation

  1. Clone this repository: git clone [email protected]:laravelio/laravel-io.git laravelio/
  2. Update your Homestead.yml with the following settings:
    1. Add the path for the cloned laravel.io repository to the folders list
    2. Add a site lio.loc for the laravel.io repository to the sites list
    3. Add a database called laravelio to the databases list
    4. Run homestead provision
  3. SSH into your Homestead box and run the following commands:
    1. composer install
    2. php artisan migrate --seed --env=local
  4. Add 192.168.10.10 lio.loc to your computer's hosts file
  5. Follow the configuration steps below to configure the external services

Configuration

Laravel.io relies on some key services to function, namely Github OAuth authentication and the Google ReCaptcha service. Follow the steps below to fill in the credentials in your custom .env file.

  1. Create an application in your github account called something like "Laravel.io Development" and add your Github application's client id, secret and url to the .env file. Your GitHub application should be set up as follows.

    Full URL: http://lio.loc
    Callback URL: http://lio.loc/auth/github

  2. Register a new website for the Google ReCaptcha service and fill in the site key and secret key in the .env file.

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

Frontend

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

  • To compile stylesheets, we'll need Compass. Install Compass by running sudo apt-get install ruby-compass when ssh'd into your Homestead box.
  • 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

Maintainers

The Laravel.io portal is currently maintained by Dries Vints. If you have any questions please don't hesitate to contact us through the support widget on the Laravel.io website.

Contributing

Please see the contributing guide for details.

Security Vulnerabilities

If you discover a security vulnerability within Laravel.io, please send an email immediately to Dries Vints at [email protected]. Do not create an issue for the vulnerability.

License

The MIT License. Please see the license file for more information.

laravel.io's People

Contributors

driesvints avatar nickstr avatar mitchellvanw avatar clauddiu avatar grahamcampbell avatar justinseiter avatar ryanwinchester avatar msurguy avatar anthonyconklin avatar mattstauffer avatar barryvdh avatar summerblue avatar mikicaivosevic avatar spencerdeinum avatar miclf avatar mcraz avatar anlutro avatar edrands avatar c4pone avatar ianlandsman avatar meroje avatar greydnls avatar mrailton avatar machuga avatar punkeel avatar ravigehlot avatar taftse avatar fitztrev avatar ashernevins avatar diegofelix avatar

Watchers

James Cloos avatar  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.