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

[DOCS] The front-end deployment information is not correct #13

Closed
razvanilin opened this issue Nov 26, 2019 · 0 comments
Closed

[DOCS] The front-end deployment information is not correct #13

razvanilin opened this issue Nov 26, 2019 · 0 comments
Assignees

Comments

@razvanilin
Copy link
Member

pm2 serve is for serving static sites and it will give a 404 if the user refreshes the page.

pm2 should instead use the external serve module to serve the site and for this it needs a configuration file like so:

{
  apps : [
    {
      name      : "chartbrew-client",
      script    : "npx",
      interpreter: "none",
      args: "serve -s . -p 5100"
    }
  ]
}
@razvanilin razvanilin added this to Done in Chartbrew Devlog Dec 14, 2019
@razvanilin razvanilin self-assigned this Dec 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant