2017 © Pedro Peláez
 

library demo

Barebone application

image

o-log/demo

Barebone application

  • Sunday, October 29, 2017
  • by o-log
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Barebone application for php-admin library., (*1)

Library demo site., (*2)

Installation

In your terminal type:, (*3)

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)., (*4)

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

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., (*6)

After configuring database perform the database migration:, (*7)

vendor/bin/migrate

That's it! Run the application with php built-in server:, (*8)

bin/run

And than open localhost:8000 in your browser., (*9)

The Versions