-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bumped node requirement, requires forever, environment specific exten…
…sion
- Loading branch information
Showing
7 changed files
with
62 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,14 +5,24 @@ | |
* moving extension config to `content/config/extensions.json` | ||
* moved restart.json to `content/config` | ||
* added enterprise data security requirements for dbseed, custom data scrubbing | ||
* requires node >= 0.10.31, npm >= 2.0.0 | ||
* added support for environemnt specific extensions for testing | ||
* **requires node >= 0.10.31, npm >= 2.0.0** | ||
|
||
### Notes | ||
* Periodic Migration guide from 3.0.0 | ||
``` | ||
# move content/extensions/extensions.json, content/extensions/log, content/extensions/restart.json to content/config | ||
# delete content/extensions directory | ||
# install latest version of periodic | ||
$ cd /path/to/web/app | ||
$ npm install [email protected] --prefix ./ # or $ npm install periodicjs@latest | ||
``` | ||
#### Periodic Migration guide from 3.0.0 | ||
``` | ||
# move content/extensions/extensions.json, content/extensions/log, content/extensions/restart.json to content/config | ||
# delete content/extensions directory | ||
# install latest version of periodic | ||
$ npm install forever -g # install forever | ||
$ cd /path/to/web/app | ||
$ npm install [email protected] --prefix ./ # or $ npm install periodicjs@latest | ||
``` | ||
#### Periodic Runtime Options | ||
``` | ||
$ npm start --e [name-of-environment (development by default)] # runs nodemon | ||
$ npm run forever --e [name-of-environment (development by default)] # runs forever + nodemon | ||
$ npm run deploy --e [name-of-environment (development by default)] # deploys with pm2 | ||
$ npm run sync # syncs dependencies | ||
``` | ||
Running npm start saves the environment in `content/config/process/runtime.json`, if no environment is specified, it will reload in this environment, this is helpful server restarts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters