Skip to content
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

Merged
merged 9 commits into from
Mar 9, 2021
Merged

Update README.md #5544

merged 9 commits into from
Mar 9, 2021

Conversation

jisantuc
Copy link
Contributor

@jisantuc jisantuc commented Feb 10, 2021

Overview

Brief description of what this PR does, and why it is needed.

Checklist

  • Description of PR is in an appropriate section of the changelog and grouped with similar changes if possible

Testing Instructions

  • tested by @kshepard setting up a fresh repo

- 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
Copy link
Contributor

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.

Copy link
Contributor

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.

Copy link
Contributor

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

README.md Outdated Show resolved Hide resolved
Copy link
Contributor

@kshepard kshepard left a 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 🎉

@jisantuc jisantuc changed the title [wip] Update README.md Update README.md Mar 9, 2021
@jisantuc jisantuc merged commit 5135840 into develop Mar 9, 2021
@jisantuc jisantuc deleted the docs/js/update-setup-and-scripts branch March 9, 2021 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants