-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathapp_engine_and_docker_-_init.patch
More file actions
65 lines (59 loc) · 2.19 KB
/
app_engine_and_docker_-_init.patch
File metadata and controls
65 lines (59 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Index: settings.gradle
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- settings.gradle (revision 151e0ad40462e95addf033ce4ad31d6c96b211c5)
+++ settings.gradle (date 1573346677481)
@@ -6,9 +6,9 @@
// 1. google app engine - use standard build.gradle
// 2. netty - use build.netty.gradle
// 3. netty with fatjar - use build.fatjar.gradle
-project(':server').buildFileName = 'build.gradle'
+//project(':server').buildFileName = 'build.gradle'
//project(':server').buildFileName = 'build.netty.gradle'
-//project(':server').buildFileName ='build.fatjar.gradle'
+project(':server').buildFileName ='build.fatjar.gradle'
enableFeaturePreview('GRADLE_METADATA')
\ No newline at end of file
Index: README.md
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- README.md (revision 151e0ad40462e95addf033ce4ad31d6c96b211c5)
+++ README.md (date 1573363769824)
@@ -30,4 +30,20 @@
Then navigate to the libs folder in the terminal and execute: libs % java -jar server-all.jar
+GOOGLE APP ENGINE and DOCKER - COMMANDS
+
+gcloud projects create kinsight-multiplatform
+gcloud app create
+gcloud config set project kinsight-multiplatform
+
+docker build -t server-all .
+
+docker run -m512M --cpus 1 --expose 8081 -p 8081:8081 -p 8080:8080 -it server-all
+
+docker images
+
+docker ps
+
+docker stop instance_id
+docker rmi image_name
\ No newline at end of file
Index: build.gradle
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- build.gradle (revision 151e0ad40462e95addf033ce4ad31d6c96b211c5)
+++ build.gradle (date 1573346744245)
@@ -16,7 +16,7 @@
}
dependencies {
classpath 'org.reflections:reflections:0.9.11'
- classpath 'com.android.tools.build:gradle:3.4.2'
+ classpath 'com.android.tools.build:gradle:3.5.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"