A system for authoring and executing Orchestration Scripts that support member of an Agile Research Studios (ARS) community learn the skills to access a community of support for their research work.
- Make sure you have Node.js, yarn, and MongoDB installed.
- Clone the Studio API if you plan to do local development.
- Create a
.env
file as follows:NODE_ENV=development PORT=5001 DEBUG=true STUDIO_API_URL=http://localhost:3000 MONGODB_URI=mongodb://localhost/orchestration-engine TZ=UTC
- Start the Studio API per instructions in the README of it's repo.
- Run
yarn
to download the necessary packages. - Run
yarn run dev
to start the local Node.js application. - In a separate tab, start the MongoDB daemon using
mongod --dbpath=<PATH_TO_DB>
.- Note: if you have cloned and started the Studio API before this step, you will not need to do it again since the daemon will be running.
For production, use the following environment variables:
NODE_ENV=production
PORT=8080
STUDIO_API_URL=<url of deployed studio api>
MONGODB_URI=<url of mongodb>
MINUTE=30
TZ=UTC