Closed enterprisey closed 3 years ago
npm start
(using the server.js I added) sorta works, but is missing corresponding directions for the moment.
Ok, some not-very-good instructions have been added. I tried them and they worked on my machine, so I'm closing this.
As suggested by @NarayanBavisetti,
npm start
should serve the script locally (with an option to rebuild when the files change, or however it's supposed to be done) so that it can be loaded from localhost via a user's common.js page. This would be much, much easier than the current workflow, where each change must be built and uploaded to Wikipedia (described at https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Articles_for_creation/Helper_script/Contributing#Uploading_the_code_to_Wikipedia).