Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/spoonx/sxblog

A simple blog module for zend framework 2
https://github.com/spoonx/sxblog

Last synced: about 1 month ago
JSON representation

A simple blog module for zend framework 2

Awesome Lists containing this project

README

        

# SxBlog

This is a very simple blog module. It should suffice for those with simple wishes.

Installation
-------------
1. add the requirement to your composer.json file by either...

... Adding it through the command line,

```
./composer.phar require spoonx/sxblog
When asked for a version, type: "dev-master"
```

or, adding it manually to your composer.json file and then running ./composer.phar install to install the dependencies

```
{
"require": {
"spoonx/sxblog": "dev-master"
}
}
```

2. Enable the newly added modules in `config/application.config.php`

```php
array(

/* ... */
'ZfcUser',
'ZfcUserDoctrineORM',
'DoctrineModule',
'DoctrineORMModule',
'SxBlog',
/* ... */

),
);
```

3. Copy the config files to your autoload dir

`cp vendor/spoonx/sxblog/config/database.local.php.dist config/autoload/database.local.php`
`cp vendor/spoonx/sxblog/config/sxblog.global.php.dist config/autoload/sxblog.global.php`

Next up, open the files and change the params to fit your needs.

4. Update the database

`./vendor/bin/doctrine-module orm:schema-tool:update --force`

5. Make sure cache dir is writable

If you're running into problems, try making the cache dir writable by executing `chown -R :www-data data; sudo chmod -R 775 data` (`www-data` being your apache user.)

## Questions / support
If you're having trouble with the module there are a couple of resources that might be of help.
* [RWOverdijk at irc.freenode.net #zftalk.dev](http://webchat.freenode.net?channels=zftalk.dev%2Czftalk&uio=MTE9MTAz8d)
* [Issue tracker](https://github.com/SpoonX/SxBlog/issues). (Please try to not submit unrelated issues).
* By [mail](mailto:[email protected]?Subject=SxBlog%20help)