small application maked in php without frameworks.
Clone this repositorie.
git clone https://github.com/leandro47/php-system-sales.git
Import your data base system_sale.backup
.
Configure database App/config/database.php
$database['host'] = 'localhost';
$database['port'] = 5432;
$database['user'] = 'postgres';
$database['password'] = '';
$database['database'] = 'system_sale';
$database['driver'] = 'pgsql';
Configure ENVIRONMENT and BASEURL in App/config/config.php
$config['baseUrl'] = 'http://localhost:8080';
$config['environment'] = 'development';
Switch to the folder
cd php-system-sales
Update dependecies with composer
composer install
Start server
php -S localhost:8080