Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.03 KB

README.md

File metadata and controls

23 lines (19 loc) · 1.03 KB

PHP Technical Task

This simple application was written in Yii2-Framework (Advanced).

Note: Application was destination for testing!!!

In the process of writing the application, the following technologies were used:

  • PHP 7.2;
  • PostgreSQL;
  • Composer;
  • Nginx
  • Open Server

Instructions for started application:

  1. Additional plugin has been installed:
  2. Initializing console migration using the command php yii migrate/up.
  3. Run seed to generate data for the database from the console using the command php yii seed/country-and-city. Resource for seeds https://simplemaps.com/data/world-cities. File with data was saved on directory resource/country_city, name worldcities.csv.
  4. Start job from console using the command php yii forecast --city=<city> --start=<date start> --end=<date end>.