Skip to content

Conversation

@shanbady
Copy link
Contributor

@shanbady shanbady commented Sep 25, 2024

What are the relevant tickets?

Closes https://github.com/mitodl/hq/issues/5604

Description (What does it do?)

This PR gets the nextjs branch to work in codespaces.

How can this be tested?

  1. create a codespace on this branch - you will need to launch this in a 4 core container since it seems this setup requires more resources for it to work:
Screenshot 2024-09-25 at 3 28 17 PM Screenshot 2024-09-25 at 3 29 27 PM
  1. Once you see 3 ports show up in the ports tab at the bottom, right click port 8063 and set it to public
  2. visit port 8062 in the browser (it may not immediately load which means its still building but it eventually will show up
  3. poke around the site and see that its all there. the search page should populate with resources

Additional Context

There were a few configuration related to nextjs that had to go in. opensearch also was not initializing presumably due to low resources when using a 2 core codespace

@shanbady shanbady added the Needs Review An open Pull Request that is ready for review label Sep 25, 2024
@shanbady shanbady marked this pull request as ready for review September 25, 2024 19:30
Copy link
Contributor

@jonkafton jonkafton left a comment

Choose a reason for hiding this comment

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

This is awesome!

@jonkafton jonkafton removed the Needs Review An open Pull Request that is ready for review label Sep 26, 2024
@shanbady shanbady merged commit 78d2385 into nextjs Sep 27, 2024
@shanbady shanbady deleted the shanbady/nextjs-codespace-fix2 branch September 27, 2024 02:06
@odlbot odlbot mentioned this pull request Oct 22, 2024
74 tasks
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