pkgsrc/www/contao/files
taca 3604e3bd72 Since Contao 3.0 and later support Apache configuration without
access_compat_module, catch up example configuration file, too.
2013-06-27 16:10:18 +00:00
..
contao.conf Since Contao 3.0 and later support Apache configuration without 2013-06-27 16:10:18 +00:00
README

$NetBSD: README,v 1.2 2013/06/27 16:08:30 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

   Then reload or restart apache.

4. Start setup from Contao installer.  If you setup Contao first
   time, simply access your URL as http://www.example.org/.  If
   you update previous version, access the installer's URL with
   http://www.example.org/contao/install.php.