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

Running Ghost in development environment with forever in order to watch for changes and restart #24

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

sitamet
Copy link

@sitamet sitamet commented Jan 20, 2015

Better ghost-start script.
Now when NODE_ENV=development, ghost start using forever and its watch option in order to auto restart after code changes.
When NODE_ENV=production, ghost starts with npm start

Joan Vega added 5 commits January 20, 2015 11:28
- Faster start: chown ghost sources in docker layer
- Create /ghost-override volume directory in layer
- Remove unused cd (WORKDIR is already /ghost)
…start ghost

- installs forever in same ghost layer
- start.bash runs ghost using forever when NODE_ENV=development
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.

1 participant