-
Notifications
You must be signed in to change notification settings - Fork 45
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
Update README.md #5544
Update README.md #5544
Conversation
Move ensuring directories into bootstrap
- AWS CLI 1.10+ | ||
- AWS Account (to store artifacts, secrets) | ||
- [Auth0 Account](https://auth0.com/) (user management) | ||
- [jabba](https://github.com/shyiko/jabba) for managing Java versions | ||
- [nvm](https://github.com/nvm-sh/nvm) for managing Node versions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like sbt
is also a requirement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, that may have been a red herring. I think maybe the actual thing I missed is that scripts/update
needs to be run from within the app-backend
directory. Testing that out now, but if it's true, we probably want to modify scripts/update
, so it can be run from the root directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made it through provisioning with the following change:
--- a/scripts/update
+++ b/scripts/update
@@ -21,8 +21,10 @@ if [ "${BASH_SOURCE[0]}" = "${0}" ]; then
usage
else
echo "Building Scala assembly JARs"
- sbt \
- ";api/assembly;backsplash-server/assembly;batch/assembly;backsplash-export/assembly"
+ pushd "app-backend"
+ sbt \
+ ";api/assembly;backsplash-server/assembly;batch/assembly;backsplash-export/assembly"
+ popd
echo "Running application database migrations"
./scripts/migrate migrate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good after making the two changes I pointed out. I was able to provision from scratch and getting a working development setup 🎉
Co-authored-by: Kenny Shepard <kshepard@azavea.com>
Overview
Brief description of what this PR does, and why it is needed.
Checklist
Testing Instructions