Web application UI for the IODA project (https://ioda.live)
- Ensure PHP 7.2 or higher is running on your machine.
- TODO: As of 4/30/2024 php 7.3.33 is the highest known working version
- Clone repo locally
- run
brew install composer yarn
- run
curl -sS https://get.symfony.com/cli/installer | bash
- run
composer install
- run
yarn install
- TODO: As of 4/30/2024 node 16.20.2 is the highest known working version
The code is two processes:
- yarn compiles the javascript. The
watch-all
script frompackage.json
watches for both sass and js changes.yarn run watch-all
- 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
- Update the global symfony/flex using
composer global require symfony/flex ^1.5
- Remove the
vendor/symfony/flex
directory in my project. - Run
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
- Run
composer install
in the /ioda-ui/ folder.
// error with "encore dev --watch" which gets run as part of "yarn run watch-all"
Error: digital envelope routines::unsupported
opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
library: 'digital envelope routines',
reason: 'unsupported',
code: 'ERR_OSSL_EVP_UNSUPPORTED'
- Run
export NODE_OPTIONS=--openssl-legacy-provider
in the terminal.