This is a server side rendered implementation of OpenDSA/Parsons. This implementation consumes the Parsons Problem Input Format (PIF) an extension of PEML.
- Clone the repo
git clone https://github.com/OpenDSA/Parsons.git- Install dependencies
npm install - Run server
node server/index.js OR (for hot reloads on save)
nodemon server/index.jsThe homepage will be served at http://localhost:3000/parsons/ by default. To use a different port set PORT in the environment to the desired one.
OR Copy .env.example and edit as desired
cp .env.example .env- Client-side code can be found in
./src. This code is bundled with webpack into the./publicdirectory with the command below.
npx webpack --config webpack.config.jsNB: Remember to bundle when changes are made so they are served to the browser.
docker compose up