Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

Improve production mode #186

Merged
merged 5 commits into from
May 25, 2016
Merged

Improve production mode #186

merged 5 commits into from
May 25, 2016

Conversation

toddw
Copy link
Contributor

@toddw toddw commented May 25, 2016

  1. Perform a clean up before pm2 starts that will make sure there were
    no phantom processes running before kicking off new phones. (This one
    helps both production and development)
  2. Run the gluestick build as part of creating a docker image. This way the
    server will be ready as soon as it starts. Added "skip build" option to
    arguments so that the docker image will stop kicking off a build when it
    starts. Kicking off a build is still useful when running locally and you
    haven't run gluestick build before running with NODE_ENV as
    production.

toddw added 5 commits May 24, 2016 16:38
1. Perform a clean up before pm2 starts that will make sure there were
no phatom processes running before kicking off new phones. (This one
helps both production and development)

2. Run the gluestick build as part of creating the image. This way the
server will be ready as soon as it starts. Added "skip build" option to
arguments so that the docker image will stop kicking off a build when it
starts. Kicking off a build is still useful when running locally and you
haven't run `gluestick build` before running with NODE_ENV as
production.
@mishkinf
Copy link
Contributor

👍

@toddw toddw merged commit a704095 into develop May 25, 2016
@toddw toddw deleted the toddw/improve-production branch May 25, 2016 00:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants