Giter Site home page Giter Site logo

gcamrit / laravel.io Goto Github PK

View Code? Open in Web Editor NEW

This project forked from laravelio/laravel.io

0.0 3.0 0.0 13.66 MB

The source code for the Laravel.IO website.

Home Page: http://laravel.io

License: MIT License

PHP 81.55% Shell 0.04% Ruby 0.24% JavaScript 4.25% CSS 13.91%

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.

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

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/.
  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 --seed --env=local.
  8. Add 192.168.10.10 lio.loc to your computer's hosts file.
  9. 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 a custom .env.local.php file.

  1. Create the configuration file below at the root of your application with the name .env.local.php.
<?php

return [
    'GITHUB_CLIENT_ID' => '',
    'GITHUB_CLIENT_SECRET' => '',
    'GOOGLE_RECAPTCHA_SITEKEY' => '',
    'GOOGLE_RECAPTCHA_SECRETKEY' => '',
];
  1. Create an application in your github account called something like "Laravel IO Development" and add your Github application's client id and secret to the .env.local.php file. Your GitHub application should be set up as follows.

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

  2. Register a new website for the Google ReCaptcha service and fill in the site key and secret key in the .env.local.php 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.

  • 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 contact us through the support widget on the Laravel.IO website.

Contributing

Please see the contributing file for details.

License

The MIT License (MIT). 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 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

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