Web application UI for the IODA project (https://ioda.caida.org)
- Ensure PHP 7.2 or higher is running on your machine.
- Clone repo locally
- run
brew install composer yarn
- run
curl -sS https://get.symfony.com/cli/installer | bash
- run
composer install
- run
yarn install
the code is two processes:
- yarn compiles the javascript, (watch keeps it checking for updates)
yarn encore dev --watch
- symfony runs the server, there are two ways
- if you have symfony:
symfony server:start --no-tls
- if you only have php:
php -S 127.0.0.1:8000 -t public
Check localhost:8000 in browser
[ErrorException] curl_multi_setopt(): CURLPIPE_HTTP1 is no longer supported
Fix with:
- Updating the global symfony/flex using
composer global require symfony/flex ^1.5
- Removing the
vendor/symfony/flex
directory in my project. - Running
composer update
.
PHP Fatal error: require(): Failed opening required '/.../ioda-ui/vendor/autoload.php' (include_path='.:/usr/local/Cellar/php@7.2/7.2.25/share/php@7.2/pear') in .../ioda-ui/config/bootstrap.php on line 5
Fix with:
- run
composer install
in the /ioda-ui/ folder.