Skip to content

Commit

Permalink
added deploy instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Kao authored Feb 22, 2018
1 parent 93f8d5a commit 3d1e18e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@ This function is helpful if you know cli-uploader made a mistake or you want to

To exit the Rails console, use `Ctrl-D`. To exit the SSH, use `Ctrl-D` as well.

#### Deploying `stuy-spec-api`

1. Go to your local `stuy-spec-api` directory and check out and pull down the branch you want to deploy.

2. Run `eb init`. Select the default region as choice 1 (us-east-1). Select the default application as choice 1 (stuyspec-api-prod). **DO NOT** create a new application and **DO NOT** create a new environment.

3. Run `eb deploy`.

## Testing GraphQL

Use [GraphiQL](https://github.com/graphql/graphiql) to test your GraphQL queries.
Expand Down

0 comments on commit 3d1e18e

Please sign in to comment.