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
public class HandlebarsExample extends AbstractVerticle { | |
@Override | |
public void start(Future<Void> startFuture) throws Exception { | |
HttpServerOptions options = new HttpServerOptions(); | |
options.setPort(9999); | |
HttpServer server = vertx.createHttpServer(options); | |
Router router = Router.router(vertx); | |
HandlebarsTemplateEngine engine = HandlebarsTemplateEngine.create(vertx); |
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
Executing [ | |
/opt/jvm/graalvm-1.0.0-rc1/bin/java \ | |
-Xbootclasspath/a:/opt/jvm/graalvm-1.0.0-rc1/jre/lib/boot/graal-sdk.jar:/opt/jvm/graalvm-1.0.0-rc1/jre/lib/boot/graaljs-scriptengine.jar \ | |
-cp \ | |
/opt/jvm/graalvm-1.0.0-rc1/jre/lib/svm/builder/objectfile.jar:/opt/jvm/graalvm-1.0.0-rc1/jre/lib/svm/builder/pointsto.jar:/opt/jvm/graalvm-1.0.0-rc1/jre/lib/svm/builder/svm.jar:/opt/jvm/graalvm-1.0.0-rc1/jre/lib/jvmci/graal.jar:/opt/jvm/graalvm-1.0.0-rc1/jre/lib/jvmci/jvmci-hotspot.jar:/opt/jvm/graalvm-1.0.0-rc1/jre/lib/jvmci/jvmci-api.jar \ | |
-server \ | |
-d64 \ | |
-noverify \ | |
-XX:+UnlockExperimentalVMOptions \ | |
-XX:+EnableJVMCI \ |
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
import static org.junit.Assert.assertEquals; | |
import java.io.File; | |
import java.io.IOException; | |
import org.apache.commons.io.FileUtils; | |
import org.junit.Test; | |
import io.reactivex.Observable; | |
import io.vertx.core.file.OpenOptions; |
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
import io.vertx.core.AbstractVerticle; | |
import io.vertx.core.Future; | |
import io.vertx.core.Vertx; | |
import io.vertx.core.http.HttpClient; | |
import io.vertx.core.http.HttpClientOptions; | |
import io.vertx.core.http.HttpServer; | |
import io.vertx.core.http.HttpServerOptions; | |
import io.vertx.core.json.JsonObject; | |
import io.vertx.ext.bridge.PermittedOptions; |
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
version: '3.1' | |
services: | |
mesh: | |
image: gentics/mesh-demo | |
ports: | |
- 8080:8080 |
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
module meshAdminUi { | |
const userAuth = { | |
'LOG_IN': { | |
en: 'Log In', | |
de: 'Einloggen' | |
}, | |
'LOG_OUT': { | |
en: 'Log Out', | |
de: 'Ausloggen' |
This file has been truncated, but you can view the full file.
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
2017-08-24 15:42:38:846 INFO OrientDB auto-config DISKCACHE=14,292MB (heap=14,292MB direct=14,292MB os=64,307MB) [OMemoryAndLocalPaginatedEnginesInitializer] | |
2017-08-24 15:42:38:847 INFO Lowering disk cache size from 14,292MB to 14,290MB. [OGlobalConfiguration]Adding vertex type for class {Root} | |
2017-08-24 15:42:39:186 FINE {db=storage} Created cluster 'internal' in database '/home/johannes2/workspace_mesh/orientdb-cluster-test/servers/target/data1/graphdb/storage' with id 0. Clusters: [plocal cluster: internal] [OLocalPaginatedStorage] | |
2017-08-24 15:42:39:189 FINE {db=storage} Created record #0:0 v.1 size=4 bytes (thread=1 tx=false) [OLocalPaginatedStorage] | |
2017-08-24 15:42:39:219 FINE {db=storage} Created cluster 'index' in database '/home/johannes2/workspace_mesh/orientdb-cluster-test/servers/target/data1/graphdb/storage' with id 1. Clusters: [plocal cluster: internal, plocal cluster: index] [OLocalPaginatedStorage] | |
2017-08-24 15:42:39:241 FINE {db=storage} Created cluster 'manindex' in database '/ |
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
public static void main(String[] args) { | |
VertxOptions options = new VertxOptions(); | |
Vertx vertx = Vertx.vertx(options); | |
vertx.deployVerticle(new Server()); | |
} |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css"> | |
<meta charset="UTF-8"> | |
<title>Gentics Mesh Demo</title> | |
<style> | |
.row.products > div { | |
height: 500px | |
} |
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
RewriteEngine on | |
RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ index.php [QSA,L] |