Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds AWS ElasticBeanstalk deploy instructions to the README #44

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ How do I speak 'poxa'?
- [Release](#release)
- [Your application](#your-application)
- [Deploying on Heroku](#deploying-on-heroku)
- [Deploying on ElasticBeanstalk](#deploying-on-elasticbeanstalk)
- [Console](#console)
- [Implementation](#implementation)
- [Contributing](#contributing)
Expand Down Expand Up @@ -236,6 +237,26 @@ A working deploy is on http://poxa.herokuapp.com, with:

Also a pusher example(https://github.com/pusher/pusher-presence-demo) is running using poxa at: http://poxa-presence-chat.herokuapp.com/

## Deploying on ElasticBeanstalk

Add a config file `poxa.conf` and configure the HTTP Port.
```
# HTTP port
poxa.port = 80
```
You should also configure your credentials, look at [Release Configuration](#release-configuration) for more details.

Add a `Dockerfile`:
```
FROM edgurgel/poxa:0.4.3

# Add the configuration file to the container.
ADD ./poxa.conf /app/releases/0.4.3/poxa.conf

EXPOSE 80
```
Pack this files into a zip and upload it to a ElasticBeanstalk Web Server configured for [Docker platform](http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/docker-singlecontainer-deploy.html). You can also use [EB Cli](http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3.html).

## Console

A simple console is avaiable on index:
Expand Down