The CoLab system provides instructor support for collaborative learning groups. In its current state, it deploys successfully to Heroku with Amazon SES & S3 (using ActiveStorage), Scheduler and JAWS Maria DB add-ons with a libVips buildpack. It should run in a paid dyno with SSL enabled or a configuration change would be required.
The CoLab system which is based upon and supports the continued research of Micah Gideon Modell, Ph.D.
This system can be set up for development and testing on any modern desktop OS. It requires Docker git and bash support (native on MacOSX and Linux but may require additional download/installation on Windows).
apt
or whatever package manager you're using:
git clone https://github.com/mgmodell/CoLab.git
(git clone git@github.com:mgmodell/CoLab.git
if you've set up ssh-keys)./buildContainers.sh
./dev_serv.sh -j
to load up anonymized testing data../dev_serv.sh -e "haccess[
yourEmail@something.com]"
to set
up the testing user with your email and a password of 'password' for
testing purposes.The following two scripts are used to launch the development/testing server for manual testing and to launch the automated tests (respectively). Running either without any parameters will give you a full guide::
dev_serv.sh
- Get started by using the -j
option to load a basic
test dump and the -s
option to start the server on
http://localhost:3000.run_tests.sh
- Start with the -c
option to make sure the database
exists, then the -r
option will kick off the process (warning it
runs for nearly a day).git branch <enter_new_branch_name>
git checkout <enter_new_branch_name>
./dev_serv.sh -e "haccess[
yourEmail@something.com]"
./dev_serv.sh -e "examples[
yourEmail@something.com]"
rake cucumber:rerun
git add <file name>
git commit -m `<meaningful message>`
git push
My wife, Misun, and my two children have been instrumental in making this possible by putting up with me throughout.