Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Commit

Permalink
Release-Patches
Browse files Browse the repository at this point in the history
  • Loading branch information
Vento committed Feb 24, 2018
1 parent 052c035 commit 169f70d
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 240 deletions.
80 changes: 15 additions & 65 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,38 @@
#### Laravel-Auth is a Complete Build of Laravel 5.5 with Email Registration Verification, Social Authentication, User Roles and Permissions, User Profiles, and Admin restricted user management system.
#### Excalibour is a Build of Laravel 5.5 Exer-Management-Tool for Scouts.
[![Build Status](https://travis-ci.org/Chronyms/Excalibour.svg?branch=master)](https://travis-ci.org/Chronyms/Excalibour)
[![StyleCI](https://styleci.io/repos/116980577/shield?branch=master)](https://styleci.io/repos/116980577)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Chronyms/Excalibour/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Chronyms/Excalibour/?branch=master)
[![Build Status](https://scrutinizer-ci.com/g/Chronyms/Excalibour/badges/build.png?b=master)](https://scrutinizer-ci.com/g/Chronyms/Excalibour/build-status/master)

### Installation Instructions
1. Run `sudo git clone https://github.com/jeremykenedy/laravel-auth.git laravel-auth`
2. Create a MySQL database for the project
* ```mysql -u root -p```, if using Vagrant: ```mysql -u homestead -psecret```
* ```create database laravelAuth;```
1. `git clone https://github.com/Chronyms/Excalibour.git` ausführen
2. MySQL-Datenbank für das Projekt erstellen
* ```mysql -u root -p```, auf Vagrant: ```mysql -u homestead -psecret```
* ```create database excalibour;```
* ```\q```
3. From the projects root run `cp .env.example .env`
4. Configure your `.env` file // NOTE: Google API Key will prevent maps error
5. Run `sudo composer update` from the projects root folder
4. Configure your `.env` file
5. Run `composer update` from the projects root folder
6. Run `php artisan vendor:publish --provider="jeremykenedy\LaravelRoles\RolesServiceProvider" --tag=config`
7. Run `php artisan vendor:publish --provider="jeremykenedy\LaravelRoles\RolesServiceProvider" --tag=migrations`
8. Run `php artisan vendor:publish --provider="jeremykenedy\LaravelRoles\RolesServiceProvider" --tag=seeds`
9. From the projects root folder run `sudo chmod -R 755 ../laravel-auth`
10. From the projects root folder run `php artisan key:generate`
11. From the projects root folder run `php artisan migrate`
12. From the projects root folder run `composer dump-autoload`
13. From the projects root folder run `php artisan db:seed`
9. From the projects root folder run `php artisan key:generate`
10. From the projects root folder run `php artisan migrate`
11. From the projects root folder run `composer dump-autoload`
12. From the projects root folder run `php artisan db:seed`

** Note ** In order for [Dropzone.js](http://www.dropzonejs.com/#configuration) to work you will need to run
```
npm install
yarn
```

#### Rebuild Front End Assets with Mix

###### Rebuilding the front end of that project is OPTIONAL and can be done using Laravel [Mix](https://laravel.com/docs/5.5/mix) which is Elixers replacement.

1. From the projects root folder run `npm install`
2. From the projects root folder run `npm run dev` or `npm run production`
* You can watch assets with `npm run watch`
1. From the projects root folder run `yarn`
2. From the projects root folder run `yarn dev` or `yarn production`
* You can watch assets with `yarn run watch`


### Seeds
Expand All @@ -56,54 +55,5 @@ npm install
|[email protected]|password|Admin Access|


###### **Steps**:
2. From the projects root folder in terminal run composer command to get the needed package.
* Example:

```
composer require socialiteproviders/twitch
```

3. From the projects root folder run ```composer update```
4. Add the service provider to ```/app/services.php```
* Example:

```
'twitch' => [
'client_id' => env('TWITCH_KEY'),
'client_secret' => env('TWITCH_SECRET'),
'redirect' => env('TWITCH_REDIRECT_URI'),
],
```

5. Add the API credentials to ``` /.env ```
* Example:

```
TWITCH_KEY=YOURKEYHERE
TWITCH_SECRET=YOURSECRETHERE
TWITCH_REDIRECT_URI=http://YOURWEBSITEURL.COM/social/handle/twitch
```

6. Add the social media login link:
* Example:
In file ```/resources/views/auth/login.blade.php``` add ONE of the following:
* Conventional HTML:

```
<a href="{{ route('social.redirect', ['provider' => 'twitch']) }}" class="btn btn-lg btn-primary btn-block twitch">Twitch</a>
```

* Use Laravel HTML Facade with [Laravel Collective](https://laravelcollective.com/) (recommended)

```
{!! HTML::link(route('social.redirect', ['provider' => 'twitch']), 'Twitch', array('class' => 'btn btn-lg btn-primary btn-block twitch')) !!}
```

### Other API keys
* [Google Maps API v3 Key](https://developers.google.com/maps/documentation/javascript/get-api-key#get-an-api-key)



### Laravel Auth License
Laravel-auth is licensed under the MIT license. Enjoy!
4 changes: 2 additions & 2 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
|
*/

'locale' => env('APP_LOCALE', 'en'),
'locale' => env('APP_LOCALE', 'de'),

/*
|--------------------------------------------------------------------------
Expand All @@ -90,7 +90,7 @@
|
*/

'fallback_locale' => 'en',
'fallback_locale' => 'de',

/*
|--------------------------------------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"devDependencies": {
"axios": "^0.18",
"bootstrap-sass": "^3.3.7",
"bootstrap-social": "^5.1.1",
"cross-env": "^5.1.3",
"font-awesome": "^4.7.0",
"jquery": "^3.3",
Expand Down
9 changes: 0 additions & 9 deletions resources/assets/sass/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,6 @@
// Components
@import "modals";

// Socials
@import "socials";

// Forms
@import "forms";

Expand All @@ -53,14 +50,8 @@
// Avatars
@import "avatar";

// Logs
@import "logs";

// Password Strength Meter
@import "password";

// Hide Show Password
@import "hideShowPassword";

// PHP Info Styling
@import "php-info";
44 changes: 0 additions & 44 deletions resources/lang/__en__/usersmanagement.php

This file was deleted.

119 changes: 0 additions & 119 deletions resources/lang/__en__/validation.php

This file was deleted.

0 comments on commit 169f70d

Please sign in to comment.