Browse files

added and cleaner env.example for publishing

  • Loading branch information...
wi-wissen committed Jun 25, 2017
1 parent 66990bb commit 54d60751689c41ca3cbf04fab0e6e3eff3426b14
Showing with 65 additions and 23 deletions.
  1. +7 −7 .env.example
  2. +58 −16
@@ -3,19 +3,19 @@ APP_DEBUG=true



@@ -1,27 +1,69 @@
## Laravel PHP Framework
##friendzone - a social network is rising

[![Build Status](](
[![Total Downloads](](
[![Latest Stable Version](](
[![Latest Unstable Version](](
**Source code and install instructions are in English. Documentation and excersices currently are available in German only.**

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, queueing, and caching.
friendzone is a social network for educational purpose only. Students can create their own social network as a database admin. They learn basics about working in a software project, creating and managing a database, querying (SQL SELECT) and editing (SQL INSERT, UPDATE and DELETE).
This project aims to help students develop a general technical understanding of social networks. As result, they will be able to discuss sinjects as big data and information privacy.

Laravel is accessible, yet powerful, providing powerful tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked.
Live Demo:
Read more (only in German):

## Official Documentation
###Standing on the shoulders of giants

Documentation for the framework can be found on the [Laravel website](
Many thanks and respect to:

## Contributing
- [MySQL](
- [php](
- [Laravel](
- [laracasts/flash](
- [rap2hpoutre/laravel-log-viewer](
- [barryvdh/laravel-debugbar](
- [gbrock/laravel-table ](
- [Bootstrap](
- [jQuery]( with [Backstretch](
- Kitten image by [Nicolas Suzor]( (CC BY-NC-SA)
- Splash images by []( (CCO)
- Face images by [Greg Peverill-Conti]( (CC BY-NC-SA 2.0)

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](

## Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell at All security vulnerabilities will be promptly addressed.
- Download composer
- Download git

### License
####Prerequisits for Windows users

- Download XAMMP:
- (Optional) Download and extract cmder mini:
- Update windows environment variable path to point to your php install folder (inside XAMMP installation dir) (here is how you can do this

####Mac Os, Ubuntu and Windows

The Laravel framework is open-sourced software licensed under the [MIT license](
1. Create a local database named `friendzone` with encoding utf8_general_ci
2. Create user `friendzone` and grant all rights on `friendzone` and for creating databases
3. cd to your local target folder and clone remote project: `git clone git://`
4. Rename `.env.example` file to `.env`inside your project root and fill in the database information.
(windows won't let you do that, so you have to use Notepad++ or open your console, cd your project root directory and run `mv .env.example .env` )
5. Edit `.env`
- `APP_ENV=production`
- `APP_DEBUG=false` - enable only temporaly for debugging!
- `DB_*` - if you want another database than MySQL, you have to edit source code.
- `DB_USERNAME` - user for database
- `DB_PASSWORD` - passwort for database
- `MAIL_*` - mail provider for resetting passworts (admin accounts may reset passworts without sending a mail)
- `PHPMYADMIN` - url for opening phpMyAdmin - Example:
6. Open the console and cd to your project root directory
7. Run `composer install` or ```php composer.phar install```
8. Run `php artisan key:generate`
9. Run `php artisan migrate`
10. Run `php artisan db:seed` to run seeders, if necessary.
11. Visit website and create first user.
12. In the `user` table of your database, manually set the attribute `is_admin` to `1`. Now your user is admin and may manage other accounts.

### Contributing
Thank you for considering contributing to the friendzone! Create a pull request or contact [me](

### License
[Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)](
Contact [me]( if you need an other licence.

0 comments on commit 54d6075

Please sign in to comment.