Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
deadbeef84 committed Nov 20, 2013
0 parents commit 40b2269
Show file tree
Hide file tree
Showing 2,250 changed files with 137,720 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitignore
@@ -0,0 +1,6 @@
.project
nbproject
vendor/*
doc/
test/fixtures/propel/build
composer.phar
2 changes: 2 additions & 0 deletions .htaccess
@@ -0,0 +1,2 @@
Order Allow,Deny
Deny from all
16 changes: 16 additions & 0 deletions LICENSE.txt
@@ -0,0 +1,16 @@
Curry CMS - Content management system

Copyright (C) 2012 Bombayworks AB

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU 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 General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
43 changes: 43 additions & 0 deletions README.markdown
@@ -0,0 +1,43 @@
# Curry CMS

Curry CMS is an open-source Content Management System (CMS) for PHP 5.3.

## Requirements

* PHP 5.3.7 or later, with the DOM/libxml2 and PDO extension.
* A supported database (**MySQL**, MS SQL Server, PostgreSQL, SQLite, Oracle)
* Web server with support for URL rewriting

Curry CMS also depend on the following 3rd party libraries:

* Zend Framework
* Propel
* Twig
* Minify

## Getting started

To setup Curry CMS, you need a project with some minimal configuration. A project skeleton
can be found in the [currycms-project-base](https://github.com/bombayworks/currycms-project-base)
repository. You can use composer to create a new project using this repository.

* [Install composer](http://getcomposer.org)
* Create project skeleton and install dependencies `php composer.phar create-project --stability=dev bombayworks/currycms-project-base <directory>`

Once everything has been installed, you need to make the `www` folder accessible from your
web server and configure URL rewriting, after that you should be able to access the project
installation from `/admin.php`.

## Unit testing

Curry CMS uses PHPUnit for unit testing. In order to run the tests, you need to:

* Download composer development dependencies `php composer.phar install --dev`.
* Configure database settings in `test/fixtures/propel.xml`.
* Build propel files for fixtures `./vendor/bin/propel-gen test/fixtures/propel/ main`.
* Clear database `./vendor/bin/propel-gen test/fixtures/propel/ insert-sql`.
* Run tests: `./vendor/bin/phpunit`.

## License

See the `LICENSE.txt` file.
33 changes: 33 additions & 0 deletions composer.json
@@ -0,0 +1,33 @@
{
"name": "bombayworks/currycms",
"description": "Curry CMS is a web based Content Management System for PHP5.",
"keywords": ["cms", "publishing"],
"homepage": "http://www.currycms.com/",
"license": "GPL-3.0+",
"authors": [{
"name": "Jesper Ek",
"email": "jesper.ek@bombayworks.se"
}],
"autoload": {
"psr-0": {
"Curry": "include/"
}
},
"include-path": ["include/"],
"require": {
"php": ">=5.3.7",
"propel/propel1": "1.6.*",
"bombayworks/zendframework1": "1.12.*",
"twig/twig": "1.12.*",
"ircmaxell/password-compat": "1.0.*",
"oyatel/minify": "dev-master"
},
"require-dev": {
"phpunit/phpunit": "3.7.*"
},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
}
}

0 comments on commit 40b2269

Please sign in to comment.