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 for ui development. #146

Merged
merged 3 commits into from
Jun 27, 2022

Conversation

agiron123
Copy link
Contributor

@agiron123 agiron123 commented Jun 27, 2022

Describe your changes and why you are making these changes

Updates README for building and making changes to ui codebase.

Related issue number (if any)

https://linear.app/aqueducthq/issue/ENG-1280/cleanup-outdated-ui-documentation-in-our-repo
https://linear.app/aqueducthq/issue/ENG-1268/update-ui-readme-file

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If this is a new feature, I have added unit tests and integration tests.
  • I have manually run the integration tests and they are passing.
  • All features on the UI continue to work correctly.

@agiron123 agiron123 requested review from vsreekanti and cw75 June 27, 2022 19:17
Copy link
Contributor

@cw75 cw75 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for the second part. Left a couple comments in the first part.

src/ui/README.md Outdated Show resolved Hide resolved
src/ui/README.md Outdated
`components/` that is published to npm, and an application server in `app/`
that consumes `components/`.
`common/` that is published to npm as a package called `@aqueducthq/common`, and an application server in `app/`
that consumes `@aqueducthq/common`.

If you're actively developing the UI, you will need to copy the `.env.local` file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vsreekanti @agiron123 is the .env.local file still relevant? I don't think we have ~/.aqueduct/ui/app folde anymore right? The directory just contains a few "compiled" UI files.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No -- in development mode, we still need a .env file. But yes, we don't have ~/.aqueduct/ui.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vsreekanti @cw75 just want to confirm that all we need in env.local is the SERVER_ADDRESS field, correct?

SERVER_ADDRESS=http://localhost:8080

`SERVER_ADDRESS=3.142.105.48:8080`). Then, you can start the Next.js server in dev
mode by running `make dev`. Note that this will symlink your local version of
the `components/` directory to pick up any changes you might have made.
`SERVER_ADDRESS=3.142.105.48:8080`).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stray close parens.

Copy link
Contributor

@vsreekanti vsreekanti Jun 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't about exposing the UI at a public IP. This is about whether the server is running on a different machine than the UI.

`SERVER_ADDRESS=3.142.105.48:8080`). Then, you can start the Next.js server in dev
mode by running `make dev`. Note that this will symlink your local version of
the `components/` directory to pick up any changes you might have made.
`SERVER_ADDRESS=3.142.105.48:8080`).
Copy link
Contributor

@vsreekanti vsreekanti Jun 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't about exposing the UI at a public IP. This is about whether the server is running on a different machine than the UI.

@agiron123 agiron123 merged commit e9b2387 into main Jun 27, 2022
@agiron123 agiron123 deleted the eng-1280-cleanup-outdated-ui-documentation-in-our branch June 27, 2022 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants