pkgsrc/www/contao/files/README

24 lines
843 B
Text

$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.