From 48b42dc3a8a732cde11cb2777f07b2e99d3b79e5 Mon Sep 17 00:00:00 2001
From: OHTAKE Tomohiro
Date: Tue, 16 Jan 2018 17:22:46 +0900
Subject: [PATCH] Host landing page in github pages
---
.travis.yml | 2 +-
README.md | 10 +++++-----
aws-ecs.yaml | 2 +-
index-ja.html | 10 +++++-----
index.html | 10 +++++-----
scripts/deploy-to-aws-ecs.sh | 2 +-
6 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index c0ab5af..41e954b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -32,5 +32,5 @@ before_deploy:
deploy:
- provider: script
on:
- branch: release
+ branch: gh-pages
script: ./scripts/deploy-to-aws-ecs.sh
diff --git a/README.md b/README.md
index cbb2f48..0553b32 100644
--- a/README.md
+++ b/README.md
@@ -16,10 +16,10 @@ Cattaz is a realtime collaborative tool which can run custom applications in a W
## Features
* Wiki using Markdown with realtime preview and operational transformation
- * Try it in [sandbox page](http://cattaz.io/build/#/page/sandbox)
+ * Try it in [sandbox page](http://demo.cattaz.io/#/page/sandbox)
* Custom applications run in preview pane
- * For instance, you can drag-and-drop task cards in [Kanban](http://cattaz.io/build/#/doc/app-kanban)
- * To create your own, see [documentation on Hello World](http://cattaz.io/build/#/doc/app-hello) and [browse more in documentation](http://cattaz.io/build/#/doc/index)
+ * For instance, you can drag-and-drop task cards in [Kanban](http://demo.cattaz.io/#/doc/app-kanban)
+ * To create your own, see [documentation on Hello World](http://demo.cattaz.io/#/doc/app-hello) and [browse more in documentation](http://demo.cattaz.io/#/doc/index)
## Usage
@@ -56,5 +56,5 @@ Now you can visit `http://localhost:8080/` to view the application.
## Links
* [Project site](http://cattaz.io/)
-* [Demo site](http://cattaz.io/build/)
-* [Documentation](http://cattaz.io/build/#/doc/index)
+* [Demo site](http://demo.cattaz.io/)
+* [Documentation](http://demo.cattaz.io/#/doc/index)
diff --git a/aws-ecs.yaml b/aws-ecs.yaml
index 32d3341..6e882dc 100644
--- a/aws-ecs.yaml
+++ b/aws-ecs.yaml
@@ -180,7 +180,7 @@ Resources:
Properties:
ContainerDefinitions:
- Image: !Ref EcsRepository
- Command: [yarn, run, landingpage]
+ Command: [yarn, run, server]
Memory: 256
Name: cattaz-container
PortMappings:
diff --git a/index-ja.html b/index-ja.html
index 97c593c..8576a5d 100644
--- a/index-ja.html
+++ b/index-ja.html
@@ -48,7 +48,7 @@ Markdownとアプリによる自由闊達なコラボレーションツール
-
+
@@ -88,7 +88,7 @@ Markdown編集
Markdownによって、文章を見やすい整形された状態に保てます。
Cattazと他のMarkdownエディタの間で、変換処理を必要とせず、テキストをそのままの形でコピー&ペーストできます。
編集中のテキストをリアルタイムにプレビュー画面で確認できます。
- Sandboxページで試してみてください。
+ Sandboxページで試してみてください。
@@ -119,7 +119,7 @@
アプリを簡単に作って導入
エンジニアはプレビュー画面上で動くアプリをWebアプリを作る要領で開発、導入できます。
アプリはJavaScriptとReactライブラリを使用して記述します。
指定されたpropTypesを処理することで、同期機能が付加されたアプリを実現できます。
- アプリを作成するには、
Hello worldを参照してください。
+ アプリを作成するには、
Hello worldを参照してください。
diff --git a/index.html b/index.html
index 8664fda..14b4446 100644
--- a/index.html
+++ b/index.html
@@ -49,7 +49,7 @@ Collaborate freely and openly with markdown and applications
-
+
@@ -89,7 +89,7 @@ Edit Markdown
With Markdown, keep the text in an easily formatted state.
Copy & paste text as it is without requiring conversion between Cattaz and other Markdown editors.
As you edit the text, you can see the preview in real time.
- Try it on the Sandbox page.
+ Try it on the Sandbox page.
@@ -120,7 +120,7 @@
Easily Develop Applications
Engineers can develop and implement applications that run on the preview screen in the same way as creating web applications.
Write the application using JavaScript and React library.
By processing the specified propTypes, you can realize an application with synchronization function added.
- Check the developer's guide for
Hello world application to start developing your own application.
+ Check the developer's guide for
Hello world application to start developing your own application.
diff --git a/scripts/deploy-to-aws-ecs.sh b/scripts/deploy-to-aws-ecs.sh
index acaa9a3..e587b48 100755
--- a/scripts/deploy-to-aws-ecs.sh
+++ b/scripts/deploy-to-aws-ecs.sh
@@ -20,7 +20,7 @@ docker push "$imageName"
task=$(printf '[{
"name": "cattaz-container",
"image": "%s",
- "command": ["yarn", "run", "landingpage"],
+ "command": ["yarn", "run", "server"],
"essential": true,
"memory": 256,
"cpu": 0,