Algolab frontend is built using Django, with external packages mysqlclient, django-friendship, djangorestframework and django-registration. Algolab backend is built using Tango and Docker.
Updated Feb-27th
After you do git pull origin develop
, run
pip install django-friendship
python manage.py migrate
(If you see something like Table already exists
, run
python manage.py migrate --fake
,
Or you could just drop the Schema in mySQLworkbench and create a new one named AlgoLab again)
Then do python manage.py runserver
I decide not to implement messages between users for now. It is way more complicated than I have expected. And we probably do not need it, as even Piazza does not support it yet ;)
Always push the develop branch! Use
git pull origin develop
git push origin develop
The comment field cannot be accessed in the user_profile for now. Perhaps the only way to fix that is to drop the table...
Now you cannot register a new user using the registration page as we do not support email activation yet... If you want to test, you can create user from commandline or from admin page using your local admin account.
Good luck!