Skip to content

bee7er/brianetheridge_laravel_v2

Repository files navigation

brianetheridge_laravel_v2

Important Notes

NB Running the website in Homestead virtual machine, but developing in the local environment, so must migrate database changes to the virtual machine:

putty 192.168.10.10

(vagrant@192.168.10.10's password: vagrant)

Or:

cd /Users/brianetheridge/Homestead
vagrant ssh

Run MySQL:

mysql -uroot -psecret

Or:

mysql -ubee_laravel_v2 -pDandoobly9

(root directory for the vagrant box is /home/vagrant)

===================================================================================== The second incarnation of my website in the Laravel PHP Framework

Laravel is a web application framework with expressive, elegant syntax.

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.

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.

I am using this wonderful framework to write a website for myself. This is the 4th or 5th incarnation of my website (I am not sure), and it is going to be the best one to date.

Official Documentation for Laravel

Documentation for the framework can be found on the Laravel website.


Laravel Framework 5.1 Bootstrap 3 Starter Site

Starter Site based on on Laravel 5.1 and Boostrap 3

Starter Site Features:

  • Laravel 5.1.x
  • Twitter Bootstrap 3.x
  • Back-end
    • Automatic install and setup website.
    • User management.
    • Manage languages.
    • Manage photos and photo albums.
    • Manage article and article categories.
    • DataTables dynamic table sorting and filtering.
    • Colorbox jQuery modal popup.
    • Add Summernote WYSIWYG in textareas.
  • Front-end
    • User login, registration
    • View Photos,Articles, Languages and Users
    • 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: 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 4: 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 5: 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

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

php artisan key:generate

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] (https://github.com/andrew13/Laravel-4-Bootstrap-Starter-Site)


##How Starter Site is look like

Index Login Register new user Admin dashboard Admin users Admin list users


Advanced alternatives

If you are interested in advanced starter sites where you can get 70+ admin pages, 20+ frontend pages with color schemes and a CRUD generator then visit below links

Josh

Chandra

About

The second incarnation of my website in Laravel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published