harvard-edtech / caccl

The Canvas App Complete Connection Library (CACCL) is an all-in-one library for building Canvas-integrated apps. By handling LTI, authorization, and api for you, CACCL makes building Canvas-integrated tools quick and easy. Keywords: Canvas LMS Instructure API LTI Authorization EdTech Education
MIT License
33 stars 4 forks source link

Using CACCL on Windows #16

Closed renaatdemuynck closed 1 year ago

renaatdemuynck commented 3 years ago

After some tweaking in package.json I found this is all that's needed to make it work on Windows:

"scripts": {
    "test": "echo 'Error: no test specified' && exit 1",
    "start": "node index.js",
    "postinstall": "cd client && npm install",
    "build": "cd client && npm install && npm run build",
    "dev:canvas": "node ./node_modules/caccl/canvas/startPartialSimulation",
    "dev:server": "cross-env DEV=true npm start",
    "dev:client": "cd client && cross-env DEV=true npm start"
}
gabeabrams commented 2 years ago

With the next beta, we're adding this change! Thank you for the suggestion.