-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add Drupal Console. Address #357 * Address #369, #368, #358; and finally take care of #357. * Address #374
- Loading branch information
Showing
14 changed files
with
103 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
application: | ||
environment: 'prod' | ||
language: 'en' | ||
editor: 'vim' | ||
temp: '/tmp' | ||
develop: 'false' | ||
command: 'about' | ||
checked: 'false' | ||
remote: | ||
user: 'root' | ||
port: '22' | ||
console: '/usr/local/bin/drupal' | ||
keys: | ||
public: '~/.ssh/id_rsa.pub' | ||
private: '~/.ssh/id_rsa' | ||
passphrase: '~/.ssh/passphrase.txt' | ||
composer: | ||
create-project: | ||
default: | ||
# repository: 'https://packagist.org' | ||
package: 'drupal-composer/drupal-project' | ||
drupal: | ||
# repository: 'https://packagist.org' | ||
package: 'drupal/drupal' | ||
repositories: | ||
default: 'https://packagist.drupal-composer.org' | ||
drupal: 'https://packages.drupal.org/8' | ||
packagist: 'https://packagist.org' | ||
disable: | ||
modules: | ||
# - module_name_one | ||
# - module_name_two | ||
commands: | ||
# - generate:module | ||
# - create:nodes | ||
namespaces: | ||
# - generate | ||
# - create | ||
options: | ||
learning: false | ||
examples: false | ||
# target: drupalvm.dev | ||
# uri: miltisite.dev | ||
generate-inline: false | ||
generate-chain: false | ||
yes: false | ||
composer: false | ||
shellexec_output: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
feature:repo-add mvn:org.fcrepo.camel/toolbox-features/4.6.0/xml/features | ||
feature:install fcrepo-service-activemq | ||
feature:install fcrepo-indexing-triplestore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
repo-add file:/home/vagrant/Alpaca/karaf/target/classes/features.xml | ||
repo-add file:/home/vagrant/Alpaca/karaf/build/resources/main/features.xml | ||
feature:install islandora-indexing-triplestore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
repo-add file:/home/vagrant/Alpaca/karaf/target/classes/features.xml | ||
repo-add file:/home/vagrant/Alpaca/karaf/build/resources/main/features.xml | ||
feature:install islandora-sync-gateway |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
bundle:watch --start mvn:ca.islandora.component/islandora-camel-component/0.0.1-SNAPSHOT | ||
bundle:watch --start mvn:ca.islandora.sync/islandora-sync-gateway/0.0.1-SNAPSHOT | ||
bundle:watch --start mvn:ca.islandora.indexing/islandora-indexing-triplestore/0.0.1-SNAPSHOT | ||
bundle:watch --start mvn:ca.islandora.indexing/islandora-indexing-triplestore/0.1.0-SNAPSHOT | ||
logout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#/bin/bash | ||
|
||
echo "Installing Drupal Console." | ||
|
||
HOME_DIR=$1 | ||
|
||
if [ -f "$HOME_DIR/islandora/install/configs/variables" ]; then | ||
. "$HOME_DIR"/islandora/install/configs/variables | ||
fi | ||
|
||
sed -i '$idate.timezone=America/Toronto' /etc/php/7.0/cli/php.ini | ||
cd /tmp | ||
curl https://drupalconsole.com/installer -L -o drupal.phar | ||
mv drupal.phar /usr/local/bin/drupal | ||
chmod +x /usr/local/bin/drupal | ||
cd /home/vagrant | ||
mkdir .console | ||
cp $HOME_DIR/islandora/install/configs/config.yml /home/vagrant/.console/config.yml | ||
chown -hR vagrant:vagrant /home/vagrant/.console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
echo "Installing fcrepo-camel-toolbox" | ||
|
||
HOME_DIR=$1 | ||
|
||
if [ -f "$HOME_DIR/islandora/install/configs/variables" ]; then | ||
. "$HOME_DIR"/islandora/install/configs/variables | ||
fi | ||
|
||
echo "Installing fcrepo-indexing-triplestore" | ||
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 | ||
$KARAF_CLIENT -f $KARAF_CONFIGS/fcrepo_camel_toolbox.script |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters