Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.24 KB

README.md

File metadata and controls

34 lines (28 loc) · 1.24 KB

DSI4EU

Server requirements

  • PHP 7
    • apc extension (optional)
  • MySQL (MariaDB 10)
  • Apache 2.4
  • Composer
  • Git

Installation

  • git clone https://github.com/nestauk/DSI4EU.git
  • create MySQL user and database
  • import into MySQL database all the files from database/migrations and database/seeds
  • copy src/config.sample.php to src/config.php and update with correct information
  • composer install

Integration with data visualisation

  • cd www/data-viz
  • git clone https://github.com/nestauk/DSI4EU_Dataviz.git
  • follow installation instructions from www/data-viz/README.md
  • create symlink for data visualisation ln -s www/viz www/data-viz/public
  • make sure the .htaccess file exists in www/data-viz/public/

Platform

The entry point for all the requests is the www/index.php file. All requests are directed to this file by the web server. The index.php bootstraps the application and will invoke a controller ( in src/DSI/Controller/ ) based on the http route.

The controller is responsible to execute any required actions ( in src/DSI/UseCase/ ) before will load a view ( in www/views/ ).

Command line calls are made to cli.php. Run php cli.php to list all the possible options.