Giter Club home page Giter Club logo

laravel-5-bootstrap-3-starter-site's Introduction

Laravel Framework 5 Bootstrap 3 Starter Site

Starter Site based on on Laravel 5.0 and Boostrap 3

A2Z CMS 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

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.

Option 1: Composer is not installed globally

cd laravel5startersite
curl -s http://getcomposer.org/installer | php
php composer.phar install --dev

Option 2: Composer is installed globally

cd laravel5startersite
composer install --dev

Please note the use of the --dev flag.

Some packages used to preprocess and minify assests are required on the development environment.

When you deploy your project on a production environment you will want to upload the composer.lock file used on the development environment and only run php composer.phar install on the production server.

This will skip the development packages and ensure the version of the packages installed on the production server match those you developped on.

NEVER RUN php composer.phar update ON YOUR PRODUCTION SERVER.

If you haven't already, you might want to make composer be installed globally:

$ curl -s http://getcomposer.org/installer | php
$ sudo mv composer.phar /usr/local/bin/composer

Now I can use composer by invoking just the composer command.

Optional way to do it, is to set up an alias: alias composer='/location/of/the/composer.phar'


Step 3: Configure Mailer

In the same fashion, copy the app/config/mail.php configuration file in app/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 and create Encryption Key

If you finished first four 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.

The configuration option that we need is create the encryption key that is used within the framework. To do this, all we need to do is to run:

php artisan key:generate

Step 5: Install

Now that you have the environment configured, you need to create a database configuration for it. If you install on your localhost in folder laravel4startersite, you can type on web browser: http://localhost/laravel4startersite And than finish the installation. Instalation would populate a database with tables and start-up data(you can delete that data later).

Now inside app/config that corresponds to the environment the code is deployed in. This will most likely be local or production when you first start a project.

You may setup your timezone:

<?php
	/*
	|--------------------------------------------------------------------------
	| Application Timezone
	|--------------------------------------------------------------------------
	|
	| Here you may specify the default timezone for your application, which
	| will be used by the PHP date and date-time functions. We have gone
	| ahead and set this to a sensible default for you out of the box.
	|
	*/

	'timezone' => 'UTC',
);

Step 6: Start Page

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

username: [email protected]
password: admin

OR username: [email protected] password: user


Troubleshooting

Site loading very slow

	composer dump-autoload --optimize

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

laravel-5-bootstrap-3-starter-site's People

Contributors

mrakodol avatar

Watchers

 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.