Skip to content

ExsyDev/forecast

Repository files navigation

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>.

About

Forecast Service on Yii2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published