| @@ -1,22 +1,22 @@ | | | @@ -1,22 +1,22 @@ |
1 | $NetBSD: README,v 1.3 2015/12/13 13:54:10 taca Exp $ | | 1 | $NetBSD: README,v 1.4 2015/12/16 09:23:54 taca Exp $ |
2 | | | 2 | |
3 | 1. First, create a database for Contao Open Source CMS. | | 3 | 1. First, create a database for Contao Open Source CMS. |
4 | | | 4 | |
5 | # mysqladmin -p -u <administrator> create <dbname>. | | 5 | # mysqladmin -p -u <administrator> create <dbname>. |
6 | | | 6 | |
7 | 2. Next, create a user for accessing that database. | | 7 | 2. Next, create a user for accessing that database. |
8 | | | 8 | |
9 | # mysql -p -u <administrator> <dbname> | | 9 | # mysql -p -u <administrator> <dbname> |
10 | mysql> grant select, insert, update, delete, create, drop, | | 10 | mysql> grant select, insert, update, delete, create, drop, |
11 | index, alter, create temporary tables, lock tables on | | 11 | index, alter, create temporary tables, lock tables on |
12 | <dbname>.* to '<dbuser>'@'localhost' | | 12 | <dbname>.* to '<dbuser>'@'localhost' |
13 | identified by '<dbpass>' ; | | 13 | identified by '<dbpass>' ; |
14 | | | 14 | |
15 | 3. Edit ${PKG_SYSCONFDIR}/contao.conf and include from httpd.conf. | | 15 | 3. Edit ${PKG_SYSCONFDIR}/contao.conf and include from httpd.conf. |
16 | | | 16 | |
17 | Include ${PKG_SYSCONFDIR}/contao.conf | | 17 | Include ${PKG_SYSCONFDIR}/contao.conf |
18 | | | 18 | |
19 | Then reload or restart apache. | | 19 | 4. Set DocumentRoot to ${CT_WEBDIR}/web, then reload or restart Apache. |
20 | | | 20 | |
21 | 5. Start setup from Contao installer, the installer's URL is | | 21 | 5. Start setup from Contao installer, the installer's URL is |
22 | http://www.example.org/contao/install.php. | | 22 | http://www.example.org/install.php. |