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

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

 
 

Repository files navigation

Laravel Framework 5.1 Bootstrap 3 Starter Site

Demo is here http://l5start.mrakodol.info/

Starter Site based on on Laravel 5.1 and Boostrap 3

Starter Site Features:

  • Laravel 5.1
  • Twitter Bootstrap 3.2.0
  • Back-end
    • Automatic install and settup website.
    • User 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:
    • Datatables Bundle

##Requirements

PHP >= 5.5.9
OpenSSL PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension
SQL server(for example MySQL)
Composer
Node JS

##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, copy .env.example and rename it as .env and put connection and change default database connection name, only database connection, put name database, database username and password.


Step 5: Install

Firstable need to uncomment this line "extension=php_fileinfo.dll" in php.info file.

This project makes use of Bower and Laravel Elixir. Before triggering Elixir, you must first ensure that Node.js (included in homestead) is installed on your machine.

node -v

Install dependencies listed in package.json with:

npm install

Retrieve frontend dependencies with Bower, compile SASS, and move frontend files into place:

gulp

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/public

Step 6: Start Page

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

username: [email protected]
password: admin

OR user

username: [email protected]
password: user

Troubleshooting

RuntimeException : No supported encrypter found. The cipher and / or key length are invalid.

php artisan key:generate

Cache busting with Elixir

Version-ing of css an javascript is achieved through laravel-elixir. If your javascript or css changes aren't coming through, make sure your work is picked up by gulpfile.js when running gulp.

Note: Blade gets the path to a versioned Elixir file with the following method call:

elixir($file);

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

###Disable gulp-notify If you are running on a system that handles notifications poorly or you simply do not wish to use gulp-notify but your project does? You can disable gulp-notify by using enviroment variable DISABLE_NOTIFIER.

export DISABLE_NOTIFIER=true;

##How Starter Site is look like

Index Login Register new user Admin dashboard Admin users 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 85.7%
  • PHP 12.0%
  • CSS 2.3%