o-log/demo

There is no license information available for the latest version (0.2) of this package.

Barebone application

Maintainers

Details

github.com/o-log/demo

Source

Issues

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:JavaScript

0.2 2017-10-29 21:55 UTC

This package is auto-updated.

Last update: 2024-04-29 03:47:46 UTC


README

Barebone application for php-admin library.

Library demo site.

Installation

In your terminal type:

composer create-project o-log/demo app

Where "app" is the name of the directory the project has to be installed to (the directory will be created).

After the installation you have to set up the database connection: open Config/Config.php and find the following line:

DBConfig::setConnector(self::APP_CONNECTOR, new ConnectorMySQL('127.0.0.1', 'app', 'root', '1234'));

Here you can alter database name (replace "app" with the name of your application) and MySQL user name and password. Also you have to create the database using MySQL client.

After configuring database perform the database migration:

vendor/bin/migrate

That's it! Run the application with php built-in server:

bin/run

And than open localhost:8000 in your browser.