Skip to content

cash168/test-work

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TEST WORK

Example:

www home dir: /var/www/test/public

core dir: /var/www/test/core

Base URL: http://localhost/test/

Installation

git clone https://github.com/cash168/test-work.git
cd test-work/
cp -r core/ /var/www/test/
cp -r public/ /var/www/test/
cd /var/www/test/

Configure

  1. Edit /var/www/test/public/coreconfig.php set core directory:

    $coreDir='/var/www/test/core';

  2. Edit /var/www/test/core/config.php set smarty directory, site URL and mysql settings:

    //smarty config

    $smartyDir='/var/www/test/core/smarty';

    $smartyTemplateDir='/var/www/test/core/templates';

    $smartysetCompileDir='/var/www/test/core/templates_c';

    $smartysetCacheDir='/var/www/test/core/cache';

    //base site url

    $baseUrl='http://localhost/test';

    //MySQL

    $mysqlServer="DBSERVER";

    $mysqlUser="BDUSER";

    $mysqlPass="DBPASSWORD";

    $mysqlDB="test";

  3. Create DB test and import test.sql

  4. Open URL http://localhost/test/ and login

    user: test

    password: test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published