253
by Dan Garner
Completed migration to Git. |
1 |
# Introduction
|
2 |
Xibo - Digital Signage - http://www.xibo.org.uk |
|
428.1.47
by Dan Garner
Updated README with 1.8.0 information. |
3 |
Copyright (C) 2006-2015 Daniel Garner and Contributors. |
4 |
||
454.4.3
by Dan Garner
Alter schedule call in v5 so that dependents are served as nodes under layouts. |
5 |
This is the **development branch** and represents the next generation of the Xibo CMS.
|
454.1.2
by Dan Garner
Update ReadMe. |
6 |
|
7 |
At present you cannot upgrade an earlier version to this release. |
|
428.1.47
by Dan Garner
Updated README with 1.8.0 information. |
8 |
|
9 |
## Licence
|
|
253
by Dan Garner
Completed migration to Git. |
10 |
Xibo is free software: you can redistribute it and/or modify |
11 |
it under the terms of the GNU Affero General Public License as published by |
|
12 |
the Free Software Foundation, either version 3 of the License, or |
|
13 |
any later version. |
|
14 |
||
15 |
Xibo is distributed in the hope that it will be useful, |
|
16 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
17 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
18 |
GNU Affero General Public License for more details. |
|
19 |
||
20 |
You should have received a copy of the GNU Affero General Public License |
|
21 |
along with Xibo. If not, see <http://www.gnu.org/licenses/>. |
|
22 |
||
454.1.44
by Dan Garner
Add hardwareAccelerateWebViewMode setting. Move actions to after authentication and add upgrade action (place holder at the moment). Update README. |
23 |
# Installation from the Repository
|
24 |
The Xibo CMS can be installed from the repository using Composer. |
|
25 |
||
26 |
Navigate to the folder where you want to install the CMS, ideally below your web root: |
|
27 |
||
28 |
```
|
|
29 |
cd /var
|
|
30 |
```
|
|
31 |
||
32 |
Then clone the repository: |
|
33 |
||
34 |
```
|
|
35 |
git clone git@github.com:xibosignage/xibo-cms.git xibo-cms
|
|
36 |
```
|
|
37 |
||
38 |
Install the external dependencies with Composer (visit [getcomposer.org](http://getcomposer.org) for instructions): |
|
39 |
||
40 |
```
|
|
41 |
php composer.phar install
|
|
42 |
```
|
|
43 |
||
454.1.64
by Dan Garner
Fixed last URL references when accessing over index.php. Fixed incorrect sizing on Twitter form. Added a URL rewriting section to readme. |
44 |
## Web Server Configuration
|
45 |
It is highly recommended to use Xibo with URL re-writing enabled. A `.htaccess` file has been provided in `web/.htaccess`. |
|
46 |
This file assumes that Xibo is being served from the web server document root or from a virtual host. |
|
47 |
||
48 |
If an alias is required then the `.htaccess` file will need to be modified to include a `RewriteBase` directive that matches |
|
49 |
the alias. |
|
50 |
||
51 |
For example, if the alias is `/xibo` the `.htaccess` should have: `RewriteBase /xibo`. |
|
52 |
||
53 |
## Installation Wizard
|
|
454.1.44
by Dan Garner
Add hardwareAccelerateWebViewMode setting. Move actions to after authentication and add upgrade action (place holder at the moment). Update README. |
54 |
Visit Xibo in the browser and follow the installation instructions. |
55 |
||
454.1.64
by Dan Garner
Fixed last URL references when accessing over index.php. Fixed incorrect sizing on Twitter form. Added a URL rewriting section to readme. |
56 |
|
428.1.47
by Dan Garner
Updated README with 1.8.0 information. |
57 |
# Development
|
58 |
The Xibo CMS now follows MVC and is PSR-4 compliant. |
|
59 |
||
60 |
The folder structure is as follows: |
|
61 |
||
454.1.2
by Dan Garner
Update ReadMe. |
62 |
- install - Files related to install/upgrade
|
428.1.47
by Dan Garner
Updated README with 1.8.0 information. |
63 |
- lib/Controller - Controllers
|
64 |
- lib/Entity - Models
|
|
454.1.2
by Dan Garner
Update ReadMe. |
65 |
- lib/Exception - Exceptions
|
428.1.47
by Dan Garner
Updated README with 1.8.0 information. |
66 |
- lib/Factory - Factories for creating Models
|
454.1.2
by Dan Garner
Update ReadMe. |
67 |
- lib/Helper - Helper Classes
|
68 |
- lib/Middleware - Slim Application Middleware
|
|
69 |
- lib/Storage - Storage Interfaces
|
|
428.1.47
by Dan Garner
Updated README with 1.8.0 information. |
70 |
- lib/Widget - Controllers for Modules
|
454.1.2
by Dan Garner
Update ReadMe. |
71 |
- lib/Xmds - Xibo Media Distribution SOAP Service
|
72 |
- locale - Translations
|
|
428.1.47
by Dan Garner
Updated README with 1.8.0 information. |
73 |
- modules/ - Twig Views for Modules and other Module resources
|
454.1.2
by Dan Garner
Update ReadMe. |
74 |
- tests/ - PHPUnit Tests
|
75 |
- views - Twig Views
|
|
428.1.47
by Dan Garner
Updated README with 1.8.0 information. |
76 |
- web/ - Web Document Root
|
77 |
- web/index.php - Entry point for the WEB GUI
|
|
78 |
- web/api/index.php - Entry point for the API
|
|
79 |
- web/maintenance/index.php - Entry point for Maintenance
|
|
454.1.2
by Dan Garner
Update ReadMe. |
80 |
- web/modules - Web Serviceable Resources for modules
|
81 |
- web/theme - GUI theme files
|
|
82 |
- web/xmds.php - XMDS SOAP Service
|
|
428.1.47
by Dan Garner
Updated README with 1.8.0 information. |
83 |
|
253.2.10
by Dan Garner
Added contributing file and notice. |
84 |
# Contributing
|
85 |
The standard licence for Xibo is the [AGPLv3](LICENSE). For more information please see [CONTRIBUTING.md](CONTRIBUTING.md). |
|
86 |
||
253
by Dan Garner
Completed migration to Git. |
87 |
# Repository
|
88 |
This folder contains the Xibo CMS application. |
|
89 |
||
90 |
# Vagrant
|
|
454.1.64
by Dan Garner
Fixed last URL references when accessing over index.php. Fixed incorrect sizing on Twitter form. Added a URL rewriting section to readme. |
91 |
A VagrantFile is included to ease set up and configuration of a development environment. After `vagrant up` completes
|
92 |
it is necessary to ssh to the box and adjust the `DocumentRoot` of the `000-default.conf` virtual host to be `/var/www/web`. |