The following source code is the project for Chapter 10 of Mastering Yii ISBN-CH: 978-1-78588-242-5_10
- PHP 5.6.0+
- A Webserver
- 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.
-
Download/Clone this project to your web directory, and setup your server so that it can be accessed.
-
Open up a Terminal window to the current working directory.
-
Make sure the following directories are writable by your webserver process
- runtime
- assets
-
Point your web browser to your application and you should see the application fire up.\
-
Install dependencies
composer selfupdate
composer global require "fxp/composer-asset-plugin:~1.0"
composer install -o -n
- Migrate the database
./yii migrate/up --interactive=0
- Run tests
./vendor/bin/codecept run