Skip to content

Laravel Framework 5 Bootstrap 3 Starter Site is a basic application with news, photo and video galeries.

Notifications You must be signed in to change notification settings

mclxly/Laravel-5-Bootstrap-3-Starter-Site

 
 

Repository files navigation

Laravel Framework 5 Bootstrap 3 Starter Site

本项目基于

在原有代码上进行了一些更新

  • 添加 Event/Command 示例代码
  • 添加自动完成代码:awesomplete(commit:3e30a8b86d)
  • Cache/Session/Queue 均使用 Redis

Problem list

Q: gulp-notify: [Error in notifier] Error in plugin 'gulp-notify' A: export DISABLE_NOTIFIER=true;

Starter Site based on on Laravel 5.0 and Boostrap 3

Starter Site Features:

  • Laravel 5.0
  • Twitter Bootstrap 3.2.0
  • Back-end
    • Automatic install and settup website.
    • User and Role management.
    • Manage languages.
    • Manage photos and photo albums.
    • Manage videos and video albums.
    • Manage news and news categories.
    • DataTables dynamic table sorting and filtering.
    • Colorbox Lightbox jQuery modal popup.
    • Add Summernote WYSIWYG in textareas.
  • Front-end
    • User login, registration
    • View Video,Photos,News
    • soon will be more...
  • Packages included:
    • JeffreyWay Laravel 4 Generators
    • Datatables Bundle

##Requirements

PHP >= 5.4.0 (Entrust requires 5.4, this is an increase over Laravel's 5.3.7 requirement)
MCrypt PHP Extension
Enable creating triger in database
SQL server(for example MySQL)

##How to install:


Step 1: Get the code - Download the repository

https://github.com/mrakodol/Laravel-5-Bootstrap-3-Starter-Site/archive/master.zip

Extract it in www(or htdocs if you using XAMPP) folder and put it for example in laravel5startersite folder.


Step 2: Use Composer to install dependencies

Laravel utilizes Composer to manage its dependencies. First, download a copy of the composer.phar. Once you have the PHAR archive, you can either keep it in your local project directory or move to usr/local/bin to use it globally on your system. On Windows, you can use the Composer Windows installer.

Then run:

composer install

to install dependencies Laravel and other packages.


Step 3: Configure Mailer

In the same fashion, copy the config/mail.php configuration file in config/local/mail.php. Now set the address and name from the from array in config/mail.php. Those will be used to send account confirmation and password reset emails to the users. If you don't set that registration will fail because it cannot send the confirmation email.


Step 4: Create database

If you finished first three steps, now you can create database on your database server(MySQL). You must create database with utf-8 collation(uft8_general_ci), to install and application work perfectly. After that setup config/database.php default database connection name and database connection. If you using MySQL than you do not need change default database connection name, only database connection, put name database, database username and password.


Step 5: Install

Now that you have the environment configured, you need to create a database configuration for it. For create database tables use this command:

php artisan migrate

And to initial populate database use this:

php artisan db:seed

If you install on your localhost in folder laravel5startersite, you can type on web browser:

http://localhost/laravel5startersite/www

Step 6: Start Page

You can now login to admin part of Laravel Framework 5 Bootstrap 3 Starter Site:

username: admin@admin.com
password: admin

OR user

username: user@user.com
password: user

Troubleshooting

Site loading very slow

	composer dump-autoload --optimize

OR

    php artisan dump-autoload

License

This is free software distributed under the terms of the MIT license


Additional information

Inspired by and based on andrew13's Laravel-4-Bootstrap-Starter-Site

##How Starter Site is look like

Index Index continue Register new user User login page Site photo album Site video album Admin dashboard Admin languages Admin photo albums Admin photos Admin list users

About

Laravel Framework 5 Bootstrap 3 Starter Site is a basic application with news, photo and video galeries.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 68.4%
  • CSS 16.4%
  • PHP 15.2%