tunapanda / swag-old

Swag automatically records learning achievements and guides players/students to greater skill
5 stars 4 forks source link

Automate the LearningLocker setup #9

Open limikael opened 9 years ago

limikael commented 9 years ago

Here is an idea on how we can automate the setup of LearningLocker.

We have tried to populate the database with a script, but it seemed that LearningLocker didn't like something "messing" with it's database. It would be better if LearningLocker had a restful API on a "meta level" where we could tell it to do things such as creating a new LRS, etc.

So, the proposed solution would be to create a plugin to LearningLocker that provides such an API. LearningLocker uses Laravel, so it should be possible to create a separate Laravel module that does this.

Some intro on Laravel modules:

https://laracasts.com/discuss/channels/tips/developing-your-packages-in-laravel-5 https://laracasts.com/discuss/channels/general-discussion/installing-package-in-laravel-5

usernamenumber commented 9 years ago

I like the idea. I suggest floating this idea to the Learning Locker people, in case they have advice or a similar project already in the works. Then we can submit it upstream when it's ready.