summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2016-12-08 02:49:52 +0100
committerJoffrey BION <joffrey.bion@gmail.com>2016-12-08 02:49:52 +0100
commit04bbf7fb06997b368687b272866767b979c78efa (patch)
tree7c1f1c5f08e7161abf32ef5aadbfc9f9b3ff595c /src/main
parentAdd Travis CI config (diff)
downloadseven-wonders-04bbf7fb06997b368687b272866767b979c78efa.tar.gz
seven-wonders-04bbf7fb06997b368687b272866767b979c78efa.tar.bz2
seven-wonders-04bbf7fb06997b368687b272866767b979c78efa.zip
Add initial webapp files to satisfy Travis for a Spring Boot build
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/luxons/sevenwonders/app/SevenWonders.java12
-rw-r--r--src/main/resources/static/index.html19
2 files changed, 31 insertions, 0 deletions
diff --git a/src/main/java/org/luxons/sevenwonders/app/SevenWonders.java b/src/main/java/org/luxons/sevenwonders/app/SevenWonders.java
new file mode 100644
index 00000000..48f10045
--- /dev/null
+++ b/src/main/java/org/luxons/sevenwonders/app/SevenWonders.java
@@ -0,0 +1,12 @@
+package org.luxons.sevenwonders.app;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication
+public class SevenWonders {
+
+ public static void main(String[] args) {
+ SpringApplication.run(SevenWonders.class, args);
+ }
+}
diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html
new file mode 100644
index 00000000..e238079b
--- /dev/null
+++ b/src/main/resources/static/index.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Seven Wonders</title>
+ <link href="/webjars/bootstrap/css/bootstrap.min.css" rel="stylesheet">
+ <link href="/main.css" rel="stylesheet">
+ <script src="/webjars/jquery/jquery.min.js"></script>
+ <script src="/webjars/sockjs-client/sockjs.min.js"></script>
+ <script src="/webjars/stomp-websocket/stomp.min.js"></script>
+</head>
+<body>
+<noscript>
+ <h2 style="color: #ff0000">Seems your browser doesn't support Javascript! Websocket relies on Javascript being
+ enabled. Please enable Javascript and reload this page!</h2>
+</noscript>
+<h1>Seven Wonders</h1>
+<p>This is a stub index page for the project, for the sake of vertical completeness. We will soon get to work on it!</p>
+</body>
+</html> \ No newline at end of file
bgstack15