palantirnet / federated-search-demo Goto Github PK
View Code? Open in Web Editor NEWDemo and development box for Federated Search
Demo and development box for Federated Search
Released an 8.x-1.1 to fix composer issues with Drupal.org distribution.
[vagrant@federated-search-demo:/var/www/federated-search-demo.local$ phing build install-all
Buildfile: /var/www/federated-search-demo.local/build.xml
[property] Loading /var/www/federated-search-demo.local/conf/build.vagrant.properties
[property] Unable to find property file: /var/www/federated-search-demo.local/conf/build.vagrant.properties... skipped
[property] Loading /var/www/federated-search-demo.local/conf/build.default.properties
federated-search-demo > build:
[property] Loading /var/www/federated-search-demo.local/conf/build.d8.properties
[property] Loading /var/www/federated-search-demo.local/conf/build.default.properties
federated-search-demo > drupal-build:
federated-search-demo > drupal-prepare-filesystem:
federated-search-demo > create-placeholder:
[echo] web/d8/docroot/modules/custom already exists.
federated-search-demo > create-placeholder:
[echo] web/d8/docroot/themes/custom already exists.
federated-search-demo > create-placeholder:
[echo] web/d8/docroot/profiles/custom already exists.
federated-search-demo > create-placeholder:
[echo] web/d8/docroot/sites/default already exists.
[chmod] Changed file mode on '/var/www/federated-search-demo.local/web/d8/docroot/sites/default' to 750
federated-search-demo > drupal-prepare-settings:
[copy] Copying 1 file to /var/www/federated-search-demo.local/web/d8/docroot/sites/default
federated-search-demo > drupal-prepare-services:
[copy] Copying 1 file to /var/www/federated-search-demo.local/web/d8/docroot/sites/default
[property] Loading /var/www/federated-search-demo.local/conf/build.d7.properties
[property] Loading /var/www/federated-search-demo.local/conf/build.default.properties
federated-search-demo > drupal-build:
federated-search-demo > drupal-prepare-filesystem:
federated-search-demo > create-placeholder:
[echo] web/d7/docroot/modules/custom already exists.
federated-search-demo > create-placeholder:
[echo] web/d7/docroot/themes/custom already exists.
federated-search-demo > create-placeholder:
[echo] web/d7/docroot/profiles/custom already exists.
federated-search-demo > create-placeholder:
[echo] web/d7/docroot/sites/default already exists.
[chmod] Changed file mode on '/var/www/federated-search-demo.local/web/d7/docroot/sites/default' to 750
federated-search-demo > drupal-prepare-settings:
[copy] Copying 1 file to /var/www/federated-search-demo.local/web/d7/docroot/sites/default
federated-search-demo > drupal-prepare-services:
[copy] Copying 1 file to /var/www/federated-search-demo.local/web/d7/docroot/sites/default
[property] Loading /var/www/federated-search-demo.local/conf/build.d8-domain.properties
[property] Loading /var/www/federated-search-demo.local/conf/build.default.properties
federated-search-demo > drupal-build:
federated-search-demo > drupal-prepare-filesystem:
federated-search-demo > create-placeholder:
[echo] web/d8-domain/docroot/modules/custom already exists.
federated-search-demo > create-placeholder:
[echo] web/d8-domain/docroot/themes/custom already exists.
federated-search-demo > create-placeholder:
[echo] web/d8-domain/docroot/profiles/custom already exists.
federated-search-demo > create-placeholder:
[echo] web/d8-domain/docroot/sites/default already exists.
[chmod] Changed file mode on '/var/www/federated-search-demo.local/web/d8-domain/docroot/sites/default' to 750
federated-search-demo > drupal-prepare-settings:
[copy] Copying 1 file to /var/www/federated-search-demo.local/web/d8-domain/docroot/sites/default
federated-search-demo > drupal-prepare-services:
[copy] Copying 1 file to /var/www/federated-search-demo.local/web/d8-domain/docroot/sites/default
federated-search-demo > install-all:
federated-search-demo > install-d8:
[property] Loading /var/www/federated-search-demo.local/conf/build.d8.properties
Gathering patches for root package.
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
federated-search-demo > install-drupal-at-root:
federated-search-demo > validate-clean-conf:
[chmod] Changed file mode on '/var/www/federated-search-demo.local/web/d8/docroot/sites/default' to 777
[chmod] Changed file mode on '/var/www/federated-search-demo.local/web/d8/docroot/sites/default/settings.php' to 777
[delete] Directory /var/www/federated-search-demo.local/web/d8/docroot/sites/default/files cannot be removed using the file attribute. Use dir instead.
[delete] Deleting directory /var/www/federated-search-demo.local/web/d8/docroot/sites/default/files
[mkdir] Created dir: /var/www/federated-search-demo.local/web/d8/docroot/sites/default/files
[drush] Executing '/var/www/federated-search-demo.local/vendor/bin/drush --site-name="FS Demo D8" --account-name="admin" --account-pass="admin" --nocolor --root="/var/www/federated-search-demo.local/web/d8/docroot" --uri="http://fs-demo.d8.local" --config="/var/www/federated-search-demo.local/conf/drushrc.php" --yes site-install "config_installer"'...
Starting Drupal installation. This takes a while. Consider using the --notify global option. [ok]
Drupal\Core\Installer\Exception\AlreadyInstalledException:
BUILD FAILED
/var/www/federated-search-demo.local/build.xml:173:39: Execution of the target buildfile failed. Aborting.
Total time: 2.3844 seconds
vagrant@federated-search-demo:/var/www/federated-search-demo.local$
The demo box is out-of-date. We need the following:
After installation on mac, when i execute vagrant ssh and type phing nothing happens. i installed phing manually i get following error
Failed opening 'TheBuild/IncludeResourceTask.php' for inclusion ((include_path='phar:///usr/bin/phing-latest.phar/bin/.. )
How can i resolved it.
I get one error when running vagrant up
TASK [solr-cors : Add CORS configuration to Solr] ******************************
fatal: [federated-search-demo]: FAILED! => {"changed": false, "failed": true, "msg": "unsupported parameter for module: path"}
to retry, use: --limit @/Applications/MAMP/htdocs/federated-search-demo/provisioning/federated-search-demo.retry
Hello,
This ticket is meant for the https://github.com/palantirnet/search_api_federated_solr but I can't find the Issues page for it.
I'm trying to implement the stack in to my Drupal site include (its Drupal dependencies and React server). I replicated Search API index setup and taxonomy like the setup in this vagrant VM.
However, I'm unable to have the search working at /search app
in a Drupal site. I got the message "Sorry, your search yield no results. Waiting for results".
When I inspected the page, and found "Cannot read property 'facet_fields' of undefined"
at the javascript level (Screenshot below)
I also ran the react application (https://github.com/palantirnet/federated-search-react) and it gets the same error.
I am wondering if you can help me trouble shooting this issue?
Thank you very much.
When following the Getting Started steps in the README I'm unable to get past step 5: Build, install, and enable demo content: phing build install-all
due to a mysql error:
After updating the DB name in the corresponding build properties file: https://github.com/palantirnet/federated-search-demo/blob/master/conf/build.d8-domain.properties#L8
By replacing dashes -
with underscores _
I'm able to successfully build the site. Confirmed for the D8 standalone and D7 site as well.
Note: the screenshot above was taken after updating the DB name in the build properties for the D8 standalone site only, which is why that site builds but the next one, the D8 domain site does not.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.