Skip to content

jacked97/Articles-User-Notification-Based-System-

Repository files navigation

Articles User Notification Based System

A Test Task - Deleivered to: Sergey Nagornij

Using basic Yii2 template with custom/modified framework structure.

Latest Stable Version Total Downloads Build Status

DIRECTORY STRUCTURE

  components          contains services to be used across application
  email-templates     conntains html templates for email notices.
  assets/             contains assets definition
  commands/           contains console commands (controllers)
  config/             contains application configurations
  controllers/        contains Web controller classes
  mail/               contains view files for e-mails
  models/             contains model classes
        database/     contains model classes linked with database
        custom/       contains custom model classes 
        search/       contains model classes linked with database for search
  types               contains type declaration used in application
  runtime/            contains files generated during runtime
  tests/              contains various tests for the basic application
  vendor/             contains dependent 3rd-party packages
  views/              contains view files for the Web application
  web/                contains the entry script and Web resources

REQUIREMENTS

The minimum requirement by this project template that your Web server supports PHP 5.4.0.

INSTALLATION

git clone https://github.com/jacked97/Articles-User-Notification-Based-System-.git Set cookie validation key in config/web.php file to some random secret string:

'request' => [
    // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
    'cookieValidationKey' => '<secret random string goes here>',
],

You can then access the application through the following URL:

http://localhost/application-folder-name/web/

CONFIGURATION

Database

Edit the file config/db.php with real data, for example:

return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=localhost;dbname=yii2basic',
    'username' => 'root',
    'password' => '1234',
    'charset' => 'utf8',
];

NOTES:

  • Yii won't create the database for you, this has to be done manually before you can access it.
  • Check and edit the other files in the config/ directory to customize your application as required.
  • Refer to the README in the tests directory for information specific to basic application tests.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages