You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Graham Campbell c27e465785 Merge pull request #228 from BootstrapCMS/analysis-q226Er 9 years ago
app Exception message fix in comment controller 9 years ago
bootstrap Upgraded to laravel 5.1 10 years ago
config Added more options to .env to reduce changes to config files. 10 years ago
database Updated emails 10 years ago
public Upgraded to laravel 5.1 10 years ago
resources Applied fixes from StyleCI 9 years ago
storage Removed debugbar 10 years ago
tests Updated tests 10 years ago
.env.example Added more options to .env to reduce changes to config files. 10 years ago
.gitattributes Initial code upload 12 years ago
.gitignore Switched to Elixir for asset management 10 years ago
.travis.yml Updates 10 years ago
CONTRIBUTING.md Typo fixes 11 years ago
LICENSE Updated licensing and such 12 years ago
README.md Updated the docs 10 years ago
SCREENSHOTS.md Updated the screenshots 11 years ago
artisan Updated emails 10 years ago
composer.json Updated tests 10 years ago
composer.lock Updated credentials dependency 10 years ago
gulpfile.js Removed debugbar 10 years ago
package.json Fixed typo 10 years ago
phpunit.xml.dist Upgraded to laravel 5.1 10 years ago
server.php Updated emails 10 years ago

README.md

Bootstrap CMS

Bootstrap CMS was created by, and is maintained by Graham Campbell, and is a PHP CMS powered by Laravel 5.1 and Sentry. It utilises many of my packages including Laravel Core and Laravel Credentials. Feel free to check out the releases, license, screenshots, and contribution guidelines.

Bootstrap CMS

Build Status Coverage Status Quality Score Software License Latest Version

Installation

PHP 5.5+ or HHVM 3.6+, a database server, and Composer are required.

  1. There are 3 ways of grabbing the code:
  • Use GitHub: simply download the zip on the right of the readme
  • Use Git: git clone git@github.com:BootstrapCMS/CMS.git
  • Use Composer: composer create-project graham-campbell/bootstrap-cms --prefer-dist -s dev
  1. From a command line open in the folder, run composer install --no-dev -o and then npm install.
  2. Enter your database details into config/database.php.
  3. Run php artisan app:install followed by gulp --production to setup the application.
  4. You will need to enter your mail server details into config/mail.php.
  • You can disable verification emails in config/credentials.php
  • Mail is still required for other functions like password resets and the contact form
  • You must set the contact email in config/contact.php
  • I'd recommend queuing email sending for greater performance (see below)
  1. Finally, setup an Apache VirtualHost to point to the "public" folder.
  • For development, you can simply run php artisan serve

Setting Up Queuing

Bootstrap CMS uses Laravel's queue system to offload jobs such as sending emails so your users don't have to wait for these activities to complete before their pages load. By default, we're using the "sync" queue driver.

  1. Check out Laravel's documentation.
  2. Enter your queue server details into config/queue.php.

Setting Up Caching

Bootstrap CMS provides caching functionality, and when enabled, requires a caching server. Note that caching will not work with Laravel's file or database cache drivers.

  1. Choose your poison - I'd recommend Redis.
  2. Enter your cache server details into config/cache.php.
  3. Setting the driver to array will effectively disable caching if you don't want the overhead.

Setting Up Themes

Bootstrap CMS also ships with 18 themes, 16 from Bootswatch.

  1. You can set your theme in config/theme.php.
  2. You can also set your navbar style in config/theme.php.
  3. After making theme changes, you will have to run php artisan app:update.

Setting Up Google Analytics

Bootstrap CMS natively supports Google Analytics.

  1. Setup a web property on Google Analytics.
  2. Enter your tracking id into config/analytics.php.
  3. Enable Google Analytics in config/analytics.php.

Setting Up CloudFlare Analytics

Bootstrap CMS can read CloudFlare analytic data through a package.

  1. Follow the install instructions for my Laravel CloudFlare package.
  2. Bootstrap CMS will auto-detect the package, only allow admin access, and add links to the navigation bar.

License

GNU AFFERO GENERAL PUBLIC LICENSE

Bootstrap CMS Is A PHP CMS Powered By Laravel 5 And Sentry

Copyright (C) 2013-2015 Graham Campbell

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.