Child pages
  • Command Line Setup

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added new settings for db collation

...

Code Block
languagetext
linenumberstrue
;Setup information for the automated CONTENIDO setup
;The autoinstall.php will always look for a file called 'autoinstall.ini' for configuration information
;You can also specify another file by calling "./autoinstall.php --ini PATH_TO_FILE"
;all of these settings are MANDATORY

[db]
;specify database connection settings in this section
user=USERNAME
host=HOSTNAME
password=USER_PASSWORD
charset=utf8DATABASE_CHARSET
collation=DATABASE_COLLATION
database=DATABASE_NAME
prefix=TABLE_PREFIX

[paths]
;information about paths
;Use the path where the contenido folder is located in. (aka "PATH_TO_BACKEND/..")
;This is the path that web browsers will have to be able to use, so start with "http://..." and end with a "/"
http_root_path=HTTP_PATH

[setup]
;This setting specifies which components of the example client will be installed
;it can either be "CLIENTEXAMPLES" to install the complete example client,
;"CLIENTMODULES" to only install the modules
;or "NOCLIENT" to not install the example client at all
client_mode=CLIENTEXAMPLES

[admin_user]
;set some information about the sysadmin account
password=SYSADMIN_PASSWORD
email=SYSADMIN_EMAIL

...

Code Block
languagexml
linenumberstrue
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE setup SYSTEM "installsettings.dtd">
<!-- For a more detailed documentation see the autoinstall-example.ini
The configurable settings are mostly the same -->
<setup>
	<db>
		<host>
			HOST_NAME
		</host>
		<user>
			USER
		</user>
		<password>
			PASSWORD
		</password>
		<database>
			DATABASE_NAME
		</database>
		<charset>
			DATABASE_CHARSET
		</charset>
		<collation>
			DATABASE_COLLATION
		</collation>
		<prefix>
			DATABASE_PREFIX
		</prefix>
	</db>
	
	<path>
		<http_root_path>
			CONTENIDO_WEB_ROOT
		</http_root_path>
	</path>
	
	<client>
		<client_mode>
			CLIENTEXAMPLES
		</client_mode>
	</client>
	
	<admin_user>
		<password>
			SYSADMIN_PASSWORD
		</password>
		<email>
			SYSADMIN_EMAIL
		</email>
	</admin_user>
</setup>

...