PM2 no longer supported, new gulp dev
command
#6731
tephenavies
announced in
Announcements
Replies: 2 comments 3 replies
-
Hi @steve9164 Thank you for this. I was also wondering if the node, npm and yarn versions described in the documentation still hold for this. Since the documentation (v8) isn't updated to the new commands given above. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @steve9164 I just tried running TerriaJS and TerriaMap on windows machine using proposed approach (
an alternative is to run separately |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We've removed pm2 from our dependencies as of terriajs-server@4.0.0 and will no longer ship configuration for running terriajs-server with pm2. We've done this as we no longer use pm2 to run our services in production, instead using kubernetes features to replace much of the functionality that pm2 gave us. Removing pm2 has also removed many transitive dependencies from terriajs-server, and removed the only dependencies that had GPL family licences.
Changes include:
npm start
now runs terriajs-server in the foregroundnpm stop
has been removedgulp dev
has been introduced (in TerriaMap and terriajs) for development. It runs terriajs-server and starts the development watch build. You can pass 1 or more arguments to terriajs-server in one of the following ways, depending on how you run your gulp tasks:gulp dev --terriajsServerArg port=4000 --terriajsServerArg verbose
yarn gulp dev --terriajsServerArg port=4000 --terriajsServerArg verbose
npm run gulp dev -- --terriajsServerArg port=4000 --terriajsServerArg verbose
If you wish to continue using pm2 you can install it independently and run e.g.:
(refer to pm2 docs for more help).
Beta Was this translation helpful? Give feedback.
All reactions