pkgsrc/www/contao/files
taca c18fc523c9 Make contao/files/README for contao41 and (maybe) later.
Bump PKGREVISION since it uses wrong README file.
2015-12-16 09:23:54 +00:00
..
contao.conf Switch contao.conf between common place and contao41 version. 2015-12-13 14:37:08 +00:00
README Make contao/files/README for contao41 and (maybe) later. 2015-12-16 09:23:54 +00:00

$NetBSD: README,v 1.4 2015/12/16 09:23:54 taca Exp $

1. First, create a database for Contao Open Source CMS.

	# mysqladmin -p -u <administrator> create <dbname>.

2. Next, create a user for accessing that database.

	# mysql -p -u <administrator> <dbname>
	mysql> grant select, insert, update, delete, create, drop,
	       index, alter, create temporary tables, lock tables on
	       <dbname>.* to '<dbuser>'@'localhost'
	       identified by '<dbpass>' ;

3. Edit ${PKG_SYSCONFDIR}/contao.conf and include from httpd.conf.

	Include ${PKG_SYSCONFDIR}/contao.conf

4. Set DocumentRoot to ${CT_WEBDIR}/web, then reload or restart Apache.

5. Start setup from Contao installer, the installer's URL is
   http://www.example.org/install.php.