Some of this could/should be factored out into various parameters:
Set "startingPoint" and "endingPoint" to your desired values in TweetService.java.
Set useWatson to false in the processor.
In TweetFileProcessing.xml edit this property within the job XML:
<properties>
...
<property name="useWatson" value="true"/>
</properties>
Go to the reacter folder and npm install
. Run npm start
to preview your changes. The react development server uses port 3000 by default, but will automatically proxy any api calls to Fetcher's REST API on port 9080 and transpile .scss files to .css for you. When you have made your changes, do a npm run build
to compile. Move the contents of reacter's build folder into the webapp folder, overwriting the older files.
Prereq: Install npm
-
Do npm install (only need to once)
npm install
-
Do reacter build
cd reacter; npm run build; cd --
-
Delete old
git rm -r src/main/webapp/
-
Copy over reacter build
mkdir src/main/webapp; cp -r reacter/build/* src/main/webapp/
-
Add new to Git
git add src/main/webapp/
Now proceed to do a commit, etc.
As seen here, you can run npm audit
and npm audit fix
to resolve security issues with underlying dependencies.
TODO: Elaborate on this process.