Skip to content

unflores/stats_visualiser

Repository files navigation

Open Data Visualization Tool

This project is a web-based visualization tool for exploring and analyzing open data sets. Follow these setup instructions to get started:

Setup instructions

  1. Install PHPBrew (PHP version manager):

    • Follow installation guide at: https://github.com/phpbrew/phpbrew
    • Install phpbrew with variants
      phpbrew install php-8.2.27 +default+sqlite+openssl # builds out php with some dependent variants
      phpbrew switch php-8.2.27 # sets php version
      
    • Install required PHP extensions:
      phpbrew ext install iconv
      phpbrew ext install ctype
      
  2. Install Composer (PHP dependency manager):

  3. Run migrations:

    make db/create
    make db/migrate
    
  4. Set up local development server:

    • Install Symfony CLI from: https://symfony.com/download
    • Build database schema: symfony console doctrine:schema:update --force
    • Start the server: make dev/start-server
  5. Access the application:

Running tests

  • Build database schema: symfony console doctrine:schema:update --force --env=test
  • Run tests: make test