Build tasks such as gulp watch --portal wikipedia.org should be wrapped in NPM scripts like npm watch --portal wikipedia.org so that developers don't have to install Gulp globally and can instead rely on the local node_modules version.
UPDATE: These npm tasks have been updated during the migration to Gulp 4.
- npm run start will now update the page stats, watch for changes in the wikipedia.org dev dir, and start a dev server
- npm run dev-server will now start a dev server in the wikipedia.org dev dir.
- npm run test will run gulp -- lint.
The documentation however still needs to be updated to reflect these changes.
The file in portals/docs/development/getting_started.md can be shortened considerably since the portals now do provide a dev-server. The section about running Python or PHP can be removed and replaced with a note about running npm run dev-server instead, and a note about running npm run start can be added too.