Location: PHPKode > projects > Gnew > Gnew-2013.1/readme.txt
// -----------------------------------------------------------------------------
// $Id: readme.txt 705 2013-04-01 13:12:58Z raoul $
//
// Copyright (C) 2013 Raoul Proença
// License: GNU GPL version 3 (see copying.txt file)
// Website: http://www.gnew.fr/
// -----------------------------------------------------------------------------
// 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/>.
// -----------------------------------------------------------------------------

---------------
| Gnew 2013.1 |
---------------

I. Introduction:
----------------

Gnew is a simple Content Management System written with PHP language and using a
database server (MySQL, PostgreSQL or SQLite) for storage. It is fully
customisable since it uses a templates system and supports multiple languages.

II. Requirements:
-----------------

Installation of Gnew requires the following:

- A webserver or web hosting account
- PHP 5.3.0 or higher (with mail() function and GD library enabled, preferably)
- A MySQL database (5.0 or higher) or a PostgreSQL database (8.4 or higher) or
SQLite 3 database support in PHP

/!\ Important note /!\

If your webserver is running with Suhosin (http://www.hardened-php.net/suhosin/)
make sure to disable sessions encryption.

See http://www.gnew.fr/articles/read.php?article_id=1#suhosin

III. Installation:
------------------

1) Decompress the Gnew-2013.1 archive to a local directory on your system.

2) Upload all the files (retaining directories structure) to a web accessible
directory on your webserver or hosting account (all .css, .htpl, .js, .php, .sql
and .xml files should be uploaded in ASCII mode).

On Linux / Unix systems:

2.1) Change the permissions of the following directories to be writable by all:
chmod 0755 (drwxr-xr-x) or 0777 (drwxrwxrwx) within your FTP/SSH client,
depending on the PHP server's UID and GID:

  - cache/
  - db/
  - feeds/
  - images/avatars/
  - images/categories/
  - images/emoticons/
  - includes/
  - medias/audios
  - medias/images
  - medias/videos

2.2) Change the permissions of the following files to be writable by all: chmod
0644 (-rwxr-xr-x) or 0666 (-rwxrwxrwx) within your FTP/SSH client, depending on
the PHP server's UID and GID:

  - db/cache.db
  - db/gnew.db
  - all .xml files in the feeds/ directory
  - includes/config.php
  - all .css, .htpl and .js files located in the templates/ directory and its
  subdirectories. You can use the commands below (of course, adapt PATH_TO):

$ cd PATH_TO/templates/
$ find . -regex '.*\.\(css\|htpl\|js\)$' -exec chmod 644 {} \;

3) Using your web browser visit the location where you placed Gnew with the
addition of install/index.php, for example:
http://www.mydomain.tld/install/index.php .

4) Fill in all the requested informations.

IV. Post-installation:
----------------------

1) Remove the install/ directory from your server.

2) Using your favorite editor or from the administration section, edit templates
files located in the templates/ directory and its subdirectories to make your
website looks whatever you want.

Thanks for using Gnew!
Return current item: Gnew