The Sugarizer Exerciser Activity is an Academic focused Activity for the Sugarizer Platform. It provides Teachers to build interactive Exercises for students, using multiple templates, and share them with their Students using the sugarizer-server.
This activity was developped by Mankirat Singh during GSoC 2018. Learn more about this work on Mankirat's blog.
The Exerciser Activity is written using ReactJS framework. The ReactJS source code is maintain here and, once build, the code is integrated in Sugarizer.
Make sure npm and nodejs are installed on your machine.
Clone the repository on your local machine and run.
npm install
Copy the lib folder, inside the main directory of the project folder, into the node_modules folder (after npm install). These are dependencies required by the sugarizer platform.
mkdir node_modules/lib
cp -r lib/* node_modules/lib
npm run start
This step requires sugarizer. The steps to get Sugarizer working on your machine can be found here: Sugarizer
npm run build
The built activity can now be found inside the build folder.
Copy the contents of the build folder and paste them inside the activity folder corresponding to Exerciser (/activities/Exerciser.activity), inside Sugarizer.
rm -rf ../sugarizer/activities/Exerciser.activity/*
cp -r build/* ../sugarizer/activities/Exerciser.activity
Restart Sugarizer.
git checkout -b feature/feature_name
)git commit -am 'Add some feature'
)git push origin feature/feature_name
)This repository is Licensed under Apache v2
license.