Skip to content
This repository was archived by the owner on Oct 30, 2020. It is now read-only.

Commit f8dc538

Browse files
authored
Merge pull request #1 from github-developer/readme-and-architecture
Add updated README and ARCHITECTURE
2 parents f1b2464 + 0cd70f0 commit f8dc538

File tree

3 files changed

+23
-11
lines changed

3 files changed

+23
-11
lines changed

.aws/ARCHITECTURE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# High-level architecture
2+
3+
![](ARCHITECTURE.png)
4+
5+
For more information about these services, please see:
6+
7+
1. [Amazon ECS - Run containerized applications in production](https://aws.amazon.com/ecs/)
8+
1. [AWS Lambda – Serverless compute](https://aws.amazon.com/lambda/)
9+
1. [Amazon DynamoDB - Fast and flexible NoSQL database service for any scale](https://aws.amazon.com/dynamodb/)
10+
1. [Application Load Balancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/introduction.html)

.aws/ARCHITECTURE.png

83 KB
Loading

README.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,31 @@
11
<h1 align="center">:smile_cat:<tt>octochat</tt></h1>
22

3+
<blockquote align="center">Privately message with your GitHub followers</blockquote>
4+
35
## Usage
46

5-
Build the container:
7+
<img width="1072" alt="example-octochat" src="https://user-images.githubusercontent.com/27806/69747446-020e6900-110c-11ea-9a4b-41fc59a9bb6f.png">
68

7-
```shell
8-
docker build -t octochat .
9-
```
9+
[Login with your GitHub account](https://octochat.dev/login) to start messaging privately with your GitHub followers.
1010

11-
Run the container:
11+
## About
1212

13-
```shell
14-
./script/server.sh
15-
```
13+
This app is intended _for demonstration use only_, and is deployed using [Amazon Web Services](https://aws.amazon.com/). The architecture is explained at a high-level [here](.aws/ARCHITECTURE.md).
1614

17-
## Development usage
15+
## Development
1816

19-
Build the container:
17+
Create a `.env` file based on [the included example template](.env.example).
18+
19+
Build a development image from [`Dockerfile.develop`](Dockerfile.develop):
2020

2121
```shell
2222
docker build -t octochat -f Dockerfile.develop .
2323
```
2424

25-
Run the container:
25+
Use the included [`server.sh`](script/server.sh) script to run the development server in a container:
2626

2727
```shell
2828
./script/server.sh
2929
```
30+
31+
The application will be available at [http://localhost:49160/](http://localhost:49160/).

0 commit comments

Comments
 (0)