- Project (Drupal) is served on
/var/www/html
in the Vagrant box - Local project files location:
c:\Users\username\Work\projects\my-project\repo\html
- Guest machine IP is 10.0.2.2 (if this doesn't work, run
route -nee
in the VM and look for the gateway address)
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
2016-06-16 23:07:04,427 ERROR org.flywaydb.core.internal.command.DbMigrate @ Migration of schema "public" to version 5.1.2015.12.03.3 failed! Changes successfully rolled back. | |
2016-06-16 23:07:04,431 ERROR org.dspace.storage.rdbms.DatabaseManager @ SQL getDataSource Error - | |
java.sql.SQLException: Flyway migration error occurred | |
at org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:389) | |
at org.dspace.storage.rdbms.DatabaseUtils.updateDatabase(DatabaseUtils.java:309) | |
at org.dspace.storage.rdbms.DatabaseManager.initialize(DatabaseManager.java:1371) | |
at org.dspace.storage.rdbms.DatabaseManager.getDataSource(DatabaseManager.java:648) | |
at org.dspace.storage.rdbms.DatabaseManager.getConnection(DatabaseManager.java:627) | |
at org.dspace.core.Context.init(Context.java:121) | |
at org.dspace.core.Context.<init>(Context.java:95) |
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
Java stacktrace: java.net.ConnectException: Connection refused | |
at java.net.PlainSocketImpl.socketConnect(Native Method) | |
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) | |
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) | |
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) | |
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) | |
at java.net.Socket.connect(Socket.java:589) | |
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:117) | |
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177) | |
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304) |
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
<strong>The current topics being discussed are:</strong> | |
What (real) examples of the application of genomic or genetic information to African livestock | |
production systems (regardless of species) do we have to-date, and what was successful or not | |
successful about these, and why. For a summary of information to date please click, | |
<a href="http://cattle-genomix.net/current-use-of-genomics-genetics-in-african-livestock-systems/">here</a>. |
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
// Wait On one or more subscription before loading the page. | |
Router.route("/", { | |
name: "home", | |
waitOn: function () { | |
return [ | |
Meteor.subscribe('users'), | |
// any other subscription to wait on | |
]; | |
}, | |
action: function () { |
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
[ | |
{ | |
"id": 72092, | |
"handle": "https://cgspace.cgiar.org/handle/10568/70238", | |
"thumbnail": "https://cgspace.cgiar.org/bitstream/handle/10568/70238/beca_beanRwanda_poster_feb2016.pdf.jpg", | |
"metadata": [ | |
{ | |
"value": "SIDA", | |
"element": "description", | |
"qualifier": "sponsorship", |
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
# Replace PROJECT_NAME, e.g. amber | |
version: "2" | |
services: | |
mariadb: | |
image: wodby/mariadb:10.1-2.3.3 | |
environment: | |
MYSQL_ROOT_PASSWORD: password | |
MYSQL_DATABASE: PROJECT_NAME |
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
<?php | |
// To be placed at ~/.drush folder | |
// drush sql-sync @PROJECT.dev @PROJECT.local | |
// drush rsync @PROJECT.dev:%files/ @PROJECT.local:%files | |
// local alias | |
$local_sites = '/var/www/html/'; | |
// development alias | |
$dev_sites = '/var/www/html/'; |
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
<?php | |
// @codingStandardsIgnoreFile | |
/** | |
* @file | |
* Drupal site-specific configuration file. | |
* | |
* IMPORTANT NOTE: | |
* This file may have been set to read-only by the Drupal installation program. |
You can clone you GitHub Wiki as git repository, simply use:
git clone git@github.com:YOUR_GITHUB_USERNAME/YOUR_PROJECT_NAME.wiki.git
Notice the .wiki
before the git extension at the end.
You can structure your Wiki files into any directory of your choice. However, a few things to remember:
- The file names need to be unique