o-log / demo
Barebone application
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- o-log/php-auth: 4.*
- o-log/php-crud: 7.*
- o-log/php-layouts: 2.*
- o-log/php-model: 8.*
- o-log/php-router: 2.*
This package is auto-updated.
Last update: 2025-01-29 05:50:02 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.