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

Deploy nextjs server #3793

Closed
12 of 17 tasks
VakarisZ opened this issue Oct 16, 2023 · 0 comments · Fixed by #3896
Closed
12 of 17 tasks

Deploy nextjs server #3793

VakarisZ opened this issue Oct 16, 2023 · 0 comments · Fixed by #3896
Assignees
Labels
Feature Issue that describes a new feature to be implemented. Refactor UI User Interface

Comments

@VakarisZ
Copy link
Contributor

VakarisZ commented Oct 16, 2023

Description

We aim to use Next.js meta-framework. To utilize the full feature set Next.js offers we decided to run next.js server in production. This means we'll need to handle the server process, output and changes in the build.

Tasks

  • Start/stop nextjs server with island startup/shutdown - @VakarisZ
  • Configure nextjs logging to output to a file in the same directory as island logs - @VakarisZ
  • Add configurable port - @VakarisZ
  • Update the deployment scripts to install the node server @cakekoa
  • Duplicate the Island's jenkins jobs
    • MSI
    • AppImage
    • Docker
  • Edit duplicate jobs to use nextjs build commands and artifacts @cakekoa
    • MSI (need to update the MSI script in the build repo)
    • AppImage (need to update build_scripts/common.sh in the monkey repo)
    • Docker (same as appimage)
  • Smoke test the builds, make sure their size didn't increase dramatically
    • AppImage increased from 158 -> 199MB
    • Docker increased from 168 -> 208MB
  • Fix certificate configuration
  • Extend docs to explain where nextjs logs can be found
  • Extend the docs to explain how to configure the port
  • Add development feature flag to not run the production during development OR configure dev script
@VakarisZ VakarisZ added Feature Issue that describes a new feature to be implemented. UI User Interface Refactor labels Oct 16, 2023
@VakarisZ VakarisZ mentioned this issue Nov 28, 2023
10 tasks
@VakarisZ VakarisZ self-assigned this Dec 14, 2023
VakarisZ added a commit that referenced this issue Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Issue that describes a new feature to be implemented. Refactor UI User Interface
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant