Skip to content

Commit

Permalink
Updated deploy instruction to match self-contained container building
Browse files Browse the repository at this point in the history
  • Loading branch information
mluypaert committed Jan 31, 2024
1 parent 00fa046 commit 7d3288d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ client/build/
target/
.github/
.ebextensions/
.elasticbeanstalk/
.elasticbeanstalk/
pom.xml
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,6 @@ vc-release: ENV.VERSION_TAG \
$(call print-help,vc-release LEVEL=<major|minor|patch>,\
Perform the Version Control tasks to release the applicaton.)
clj -A:release --without-sign ${LEVEL}
@echo "Edit version of application in pom.xml to match wormbase-names-* version reported above (version number only)."


.PHONY: release
Expand Down
16 changes: 1 addition & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -298,14 +298,6 @@ make help
To deploy an update for the main application, change your working dir
to the repository root dir and execute the following commands (bash):
```bash
# Build the client application to ensure no errors occur.
make build-ui APP_PROFILE=prod
# Generate the pom.xml file (not version-controlled)
# to ensure no errors occur (in API code)
rm pom.xml
clj -Spom
# Specify $LEVEL as one of <major|minor|patch>.
# This will bump the x, y or z version number.
# SLF4J messages can be ignored (warnings, not errors).
Expand All @@ -318,12 +310,6 @@ make show-version
# Once confirmed to be correct, push the created tag to github
git push --follow-tags
# Update the pom.xml to
# * match the version reported by make as <version> tag value
# * have "wormbase" (unquoted) as <groupId> tag value
# * have "names" (unquoted) as <artifactId> tag value
$EDITOR pom.xml
# Before building the application, ensure docker (daemon) is running.
# If not, start it. On Ubuntu you can do so with the following cmd:
sudo service docker start
Expand All @@ -343,7 +329,7 @@ make release [AWS_PROFILE=<profile_name>] APP_PROFILE=prod
# * Ensure to define the correct GOOGLE_REDIRECT_URI for google authentication (http://lvh.me:3000 when developing locally)
# Executing this make target will automatically set the required execution environment variables
# for Google Oauth2 authentication, through EB (retrieved from AWS SSM).
make eb-deploy PROJ_NAME=<env-name> [GOOGLE_REDIRECT_URI=<google-redirect-uri>] [WB_DB_URI=<datomic-db-uri>] [AWS_EB_PROFILE=<profile_name>]
make eb-deploy PROJ_NAME=<env-name> [GOOGLE_REDIRECT_URI=<google-redirect-uri>] [WB_DB_URI=<datomic-db-uri>] [AWS(_EB)?_PROFILE=<profile_name>]
```

### Deploying the IDs library
Expand Down

0 comments on commit 7d3288d

Please sign in to comment.