Skip to content

The following source code is the project for Chapter 10 of Mastering Yii ISBN: 978-1-78588-242-5

License

Notifications You must be signed in to change notification settings

masteringyii/chapter10

Repository files navigation

Mastering Yii Chapter 10 Source Code

Build Status

The following source code is the project for Chapter 10 of Mastering Yii ISBN-CH: 978-1-78588-242-5_10

Requirements

  • PHP 5.6.0+
  • A Webserver

Installation

  1. Have a web capable server (Apache, Nginx). See here for how to do that.

DigitalOcean has a pretty comprehensive guide for setting up things if you aren't familiar with the process.

  1. Download/Clone this project to your web directory, and setup your server so that it can be accessed.

  2. Open up a Terminal window to the current working directory.

  3. Make sure the following directories are writable by your webserver process

  • runtime
  • assets
  1. Point your web browser to your application and you should see the application fire up.\

  2. Install dependencies

composer selfupdate
composer global require "fxp/composer-asset-plugin:~1.0"
composer install -o -n
  1. Migrate the database
./yii migrate/up --interactive=0
  1. Run tests
./vendor/bin/codecept run

About

The following source code is the project for Chapter 10 of Mastering Yii ISBN: 978-1-78588-242-5

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages