Skip to content

Commit 3d1e18e

Browse files
author
Jason Kao
authored
added deploy instructions
1 parent 93f8d5a commit 3d1e18e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,14 @@ This function is helpful if you know cli-uploader made a mistake or you want to
9898

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

101+
#### Deploying `stuy-spec-api`
102+
103+
1. Go to your local `stuy-spec-api` directory and check out and pull down the branch you want to deploy.
104+
105+
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.
106+
107+
3. Run `eb deploy`.
108+
101109
## Testing GraphQL
102110

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

0 commit comments

Comments
 (0)