Just another simple yet modular PHP Application 😁
- PHP 5.4 or newer.
- HTTP Server, e.g. NginX or Apache either.
- MySQL Server 5.x or newer for main database.
Simply create new composer project.
$ composer create-project feryardiant/tokonlen my-app
$ cd my-app
then you need to create new database, you could do it from PHPMyAdmin or simply run.
$ mysql -uroot -p create database [db-name]
at last but not least, run the installer.
$ php system/install [baseurl] [db-user]:[db-pass]@[db-host]/[db-name]
The installer will:
- Import
system/database.sql
to your[db-name]
- Create
system/config.php
& save your installation config. - Create
.htaccess
file based on your[baseurl]
installation config.
everything is done, now you should open the [baseurl]
from your favorite web browser.
Live demo is available here: https://tokonlen.herokuapp.com/
Use these credential to login into it
-
Admin
Username: admin & Password: 1234
-
Customer
Username: pelanggan & Password: 1234
everything is done, now you should open the [baseurl]
from your favorite web browser.
The MIT License (MIT). Please see License File for more information.