# Check that Node.js is installed (version 20 or later). node --version # Download the standalone uploader into the current folder. curl --fail --location "https://scormbox.com/server-upload-example.mjs" \ --output scormbox-upload.mjs # Required: use the server credentials from your SDK project. export SCORMBOX_API_KEY="YOUR_SERVER_API_KEY" export SCORMBOX_API_SECRET="YOUR_SERVER_API_SECRET" # Required: choose a unique key for this course version. # Keep it unchanged when retrying this upload. export SCORMBOX_IDEMPOTENCY_KEY="team-training-v1" # Optional: set a title and choose whether to enable learner sharing. export SCORMBOX_TITLE="Team training" export SCORMBOX_SHAREABLE="false" # Upload your local package and wait until it is ready to play. node ./scormbox-upload.mjs "/path/to/course.zip"