The fifth incarnation of OW, built as a custom Angular app. This is a little different from other Zoo apps as it uses a Makefile
along with Gulp to carry out build / deployment tasks.
npm install -g bower
brew install s3cmd
if on OS Xmake install
inside the repo directoryRunning make run
starts the project at http://localhost:8000/
, and the ngDoc server at http://localhost:8001/
. There are git hooks to run JSLint on commit.
AMAZON_ACCESS_KEY_ID
and AMAZON_SECRET_ACCESS_KEY
Running make deploy-preview
deploys both project and docs to https://preview.zooniverse.org/oldweather
and https://preview.zooniverse.org/oldweatherdocs
respectively.
Running make deploy-production
deploys the project only to http://www.oldweather.org
make run
cmd, then run the default gulp task to build the required files.
gulp
Annotation
workflow in the workflow editormetadata: {
active: "true",
shortName: "SHIP_NAME"
}
ShipsDetailConstants
as required