Backend app with AdminLte, yii2-admin user and some extended classes
Today, I am not going to give any DOC or installation guideline.
You can check the demo at backendapp.makewebsmart.com
Surely you can give a look at the code. Code is available at GitHub Repo
https://github.com/MakeWebSmart/webapp
Installation Issue [init: missing runlevel (yii2)]
While installing the demo app in AWS EC2, I could not run the init command, also, the web/index.php
file was missing.
I tried many tricks, but was not getting any solution. Then I just copy my Local web/index.php file, and it works!
if you are facing similar issue, just copy your index.php file of your web directory and hope that will fix all issues.
Here is a copy of the content of web/index.php
<?php // comment out the following two lines when deployed to production defined('YII_DEBUG') or define('YII_DEBUG', true); defined('YII_ENV') or define('YII_ENV', 'dev'); require( __DIR__ . '/../vendor/autoload.php'); require( __DIR__ . '/../vendor/yiisoft/yii2/Yii.php'); $config = require( __DIR__ . '/../config/web.php'); (new yii\web\Application($config))->run();
Leave a Reply
You must be logged in to post a comment.