Copyright © Graham Campbell 2013
I'd appriciate it if you'd leave my name in the footer unless you have changed my source significatly. If you do feel you have changed it significantly, i'd still appreciate some kind of link back. Thank you, and enjoy!
Bootstrap CMS is a PHP CMS powered by Laravel 4.0 with Sentry 2.0.
- Bootstrap CMS was created by, and is maintained by Graham Campbell.
- Bootstrap CMS uses Travis CI to run tests to check if it's working as it should.
- Bootstrap CMS uses Scrutinizer CI to run additional tests and checks.
- Bootstrap CMS uses Composer to load and manage dependencies.
- Bootstrap CMS provides a change log, releases, and a wiki.
- Bootstrap CMS is licensed under the GNU AGPLv3, available here.
Basically, expect no support what so ever. This includes, but is not exclusive to:
- No support or help will be given during installation or updating.
- No database migration support between updates
- Updates may not be backwards compatible
- Some of the config may be for features that don't exist yet.
- Some config may even brake the entire site
- Just remember, this software comes WITHOUT ANY WARRANTY
- Technically, this software comes with no support after the testing stage either.
- 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
Bootstrap CMS was designed to run on a Linux machine with PHP 5.4 and MySQL 5.5.
- PHP 5.4.7+ or PHP 5.5+ is required.
- MySQL 5.1+, 5.5+, or 5.6+ is required. MySQL 5.7+ may work, but is untested.
- You will need Composer installed to load the dependencies of Bootstrap CMS.
- You will need to configure the site in the app/config folder before production.
- Some features require a cache server like Redis and a queuing server like Beanstalkd.
Please check the system requirements before installing Bootstrap CMS.
- You may install by cloning from github, or via composer.
- Github:
git clone git@github.com:GrahamCampbell/Bootstrap-CMS.git
- Composer:
composer create-project graham-campbell/bootstrap-cms --prefer-dist
- From a command line open in the folder, run
composer install
. - Enter your database details into
app/config/databse.php
. - Run
php artisan app:install
to setup and seed your database. - You will need to enter your mail server details into
app/config/mail.php
.
- You can disable verification emails on registration in
app/config/cms.php
- Mail is still required for other functions like password resets
- I'd recommend queuing email sending for greater performance (see below)
- Finally, setup an Apache VirtualHost to point to the "public" folder.
- For development, you can simply run
php artisan serve
- Additionally, you may to setup some of Bootstrap CMS's other features (see below).
- Some things, like caching and queuing, are disabled out of the box
- This is to allow Bootstrap CMS to work with minimal setup
Note that beanstalkd
requires a local server, while sqs
and iron
are cloud based.
- Choose your poison - I'd recommend IronMQ.
- Enter your queuing server details into
app/config/queue.php
. - You can also set a separate mail queue in
app/config/mail.php
. - For IronMQ, the queue subscription path is
/queue/receive
. - You can find out more about queuing by heading over to the Laravel Docs.
Note that caching will not work with Laravel's file
or database
cache drivers.
- Choose your poison - I'd recommend Redis.
- Enter your cache server details into
app/config/cache.php
. - Enable Bootstrap CMS's caching in
app/config/cms.php
.
Bootstrap CMS natively supports Google Analytics (other services to come later).
- Setup a web property on Google Analytics.
- Enter your tracking id into
app/config/analytics.php
. - Enable Google Analytics in
app/config/analytics.php
.
Bootstrap CMS also ships with 13 themes from Bootswatch.
- You can set your theme in
app/config/theme.php
. - You can also set your nav bar style in
app/config/theme.php
. - After making theme changes, you will have to run
php artisan app:update
.
The latest and greatest source can be found on GitHub.
Before submitting a pull request, you should ensure that your fork is up to date.
You may fork Bootstrap CMS:
git remote add upstream git://github.com/GrahamCampbell/Bootstrap-CMS.git
The first command is only necessary the first time. If you have issues merging, you will need to get a merge tool such as P4Merge.
You can then update the branch:
git pull --rebase upstream master
git push --force origin <branch_name>
Once it is set up, run git mergetool
. Once all conflicts are fixed, run git rebase --continue
, and git push --force origin <branch_name>
.
Bootstrap CMS - A CMS Powered By Laravel 4
Copyright (C) 2013 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/.