-
Notifications
You must be signed in to change notification settings - Fork 13
Working on Interactive Classifier
Jacky Zhang edited this page Aug 7, 2023
·
7 revisions
The code for Interactive Classifier is contained in rodan-main/code/rodan/jobs/interactive_classifier
.
To set up Interactive Classifier, you will need to be running Node v7 and have Python 2.7 installed.
- Install nvm if not yet installed
- Run
nvm install 7
ornvm use 7
if already installed
- Install pyenv if not yet installed
- Run
pyenv install 2.7
- Run
pyenv shell 2.7
Whenever you make changes to Interactive Classifier source code, the static files need to be recompiled.
cd rodan-main/code/rodan/jobs/interactive_classifier/ic_frontend
npm install --python=python2.7
gulp
Running gulp
will generate documentation in docs/
and output compiled .js
, .js.map
, and .css
files in static/
.
Make sure to rebase before merging changes so that changes are merged in the static files. When rebasing, resolve all merge conflicts in the source code, then run gulp to regenerate the static files.
There should be a better way to do this (see issue #913).
- Repository Structure
- Working on Rodan
- Testing Production Locally
- Working on Interactive Classifier
- Job Queues
- Testing New Docker Images
- Set up Environment Variables
- Set up SSL with Certbot
- Set up SSH with GitHub
- Deploying on Staging
- Deploying on Production
- Import Previous Data