Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upConfusion Setting Up A Dev Environment #2144
Open
Comments
|
The way i set this up is clone the repo, run yarn && yarn lerna bootstrap
&& yarn test in the root. Everything should work. Also you can look at the
travis config in this repo as travis kinda by definition bootsraps a new
environment on every test run.
Away from my computer right now but ill try to document stepa to getting a
local env set up soon
…On Wed, Mar 25, 2020 at 10:46 AM Chris Chew ***@***.***> wrote:
Hello!
I want to set up the development environment in order to make a PR with
some pool changes needed to improve adoption of scale-up read replicas in
AWS Aurora, but I'm having trouble setting up my repository workspace to
run the tests.
I have tried running npm i and npm test in all the package
sub-directories, as well as the workspace root.
There seems to be a bit or a circular dependency between pg -> pg-pool ->
pg-cursor -> pg-pool. I'm wondering if there is just some trick project
devs do to get passed that perhaps isn't documented?
What are the steps to get a dev environment running with tests passing? I
can include these steps in the PR I submit with my requested pool changes.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2144>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAMHIJSDVMHLJKKU3OLKETRJIRNRANCNFSM4LTRRKKQ>
.
|
|
Thanks for your response. I'll keep playing with it, but this is what I get so far when I follow those steps:
|
|
I figured it out! Here are the steps I went through:
So I think the official steps are:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
I want to set up the development environment in order to make a PR with some pool changes needed to improve adoption of scale-up read replicas in AWS Aurora, but I'm having trouble setting up my repository workspace to run the tests.
I have tried running
npm iandnpm testin all the package sub-directories, as well as the workspace root.There seems to be a bit of a circular dependency between pg -> pg-pool -> pg-cursor -> pg. I'm wondering if there is just some trick project devs do to get past this that perhaps isn't documented?
What are the steps to get a dev environment running with tests passing? I can include documenting these steps in the PR I submit with my requested pool changes.
Thanks!