Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sander Knape committed Feb 4, 2017
1 parent acb34e5 commit b4dd297
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This sample application shows some basic functionality written against [AWS Cogn
* Resetting a forgotten password
* Logout

The application is written in PHP. I've tried to keep the code as simple as possible so that it can be used as an example for other languages as well. In addition, I have a written a blog post where I explain how to [get started with AWS Cognito](https://sanderknape.com/2017/02/getting-started-with-aws-cognito). There you will find more theory and background about how to implement AWS Cognito.
The application is written in PHP. I've tried to keep the code as simple as possible so that it can be used as an example for other languages as well. In addition, I have written a blog post where I explain how to [get started with AWS Cognito](https://sanderknape.com/2017/02/getting-started-with-aws-cognito). There you will find more theory and background about how to implement AWS Cognito.

The steps to get started are divided in two sections;

Expand Down Expand Up @@ -44,4 +44,4 @@ With the AWS Cognito user pool set up and the correct configuration added to the
1. [Install Docker](https://docs.docker.com/engine/installation/) and [Install Docker Compose](https://docs.docker.com/compose/install/). As mentioned, it is recommended to run the application on an EC2 instance so you don't need AWS access credentials.
2. Clone this repository: `git clone https://github.com/SanderKnape/aws-cognito-app.git`
3. Cd into the git repository and spin up the application with `docker-compose up -d`.
4. The applications is now running on port 80. Check it out! You will be able to create a user (with your correct e-mailaddress to receive the token), confirm the signup, login, and more.
4. The application is now running on port 80. Check it out! You will be able to create a user (with your correct e-mailaddress to receive the token), confirm the signup, login, and more.
5 changes: 1 addition & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
version: '2'
services:
app:
container_name: aws-cognito-app
build: .
image: sanderknape/aws-cognito-app
ports:
- 80:80
volumes:
- ./app:/var/www
env_file:
- .env

0 comments on commit b4dd297

Please sign in to comment.