Skip to main content

Getting Started

Download a latest copy of AVSCMS at Here or checkout at our Github page.

Configuration

1) Edit include/config.paths.php to set up your server environment.

  • Set $config['BASE_URL'] to your site URL. For example,

    $config['BASE_URL']='https://www.yourdomain.com';
  • [OPTIONAL]: If you use a subdirectory for your installation, set both of $config['RELATIVE'] in the above file(include/config.paths.php) and $relative in loader.php file of root directory.

    For example, if you use a subdirectory named "avscms", set $config['RELATIVE'] of include/config.path.php like this:

    $config['RELATIVE']='/avscms';

    and set $relative of loader.php like this:

    $relative = '/avscms';

2) Create a database and edit include/config.db.php to set up your database configuration.

You can find avs.sql file in sql folder from the copy of AVSCMS.

Create a MariaDB/MySQL database from this sql file and edit db_type, db_host, db_user, db_pass and db_name.

For example, create a database with the name of "avs" and edit include/config.db file like this:

$config['db_type'] = 'mysqli';
$config['db_host'] = 'localhost';
$config['db_user'] = 'root';
$config['db_pass'] = '';
$config['db_name'] = 'avs';

3) Start PHP and Database servers, and enter server url on your web browser to confirm that your server works properly.

http://www.yourdomain.com[/your-subdirectory]