I’m trying to add SOAP descriptors to NOMAD and as a first step I’ve been trying to get an Oasis working on my macbook. I’ve followed the Developing NOMAD instructions but had to make a few changes
mdtraj==1.9.6from requirements.txt as it wouldn’t build
- changed version to
mongoengine==0.24.2in requirements.txt as it wouldn’t build with error “use_2to3” is invalid. I’m guessing this might cause me problems later on but I’m ignoring it for now!
Then, when I run
nomad dev units > gui/src/units.js
I end up with a very different
gui/src/units.js than the one I find in the gitlab and if I try to run the gui with
(I also needed
export NODE_OPTIONS=--openssl-legacy-provider )
I get an errror
Failed to compile. ./src/components/archive/ArchiveBrowser.js Attempted import error: 'Quantity' is not exported from '../../units' (imported as 'Q').
If I just copy
gui/src/units.js directly from the gitlab the gui compiles and launches fine.
But then if I click on “Explore” I see the error “Cannot reach NOMAD, please try again later.” and I also can’t login (using credentials I know work).
If I inspect the page I see this but it doesn’t mean much to me! Any idea what’s going on?
If it helps, I’m running the infrastructure using
docker-compose up -d mongo elastic rabbitmq
and I’m launching the app and worker separately using
nomad admin run app
nomad admin run worker
I’m particularly unclear on
- what should go in nomad.yaml?
- Do I need to be running any services other than those listed above?
- Are there any settings etc. that need to be set? Atm I’ve done nothing other than follow the Developing NOMAD instructions up to and including “Running NOMAD”
Thanks for any help with this!