This project is the source code for an educational programming website.
You should be able to have the packages. For that, use this command to install all of the dependencies :
$ pip install -r requirements.txt # venv
$ pipenv install # pipenvTo activate environment :
# venv
$ source env/Scripts/activate # unix system
> cd env; cd Scripts; cd activate.bat # windowsGo to folder first :
$ cd proglanglearnAdministration :
- superuser creation :
$ python manage.py createsuperuser- use default admin (username: HadesGuigui, Password: hadesguiguiadmin)
To run the project :
$ python manage.py runserverTo make migrations/migrate for the project's database :
$ python manage.py makemigrations$ python manage.py migrateTo initialize/update files for translations :
$ django-admin makemessages -l <lang> -e html,txt,py$ django-admin makemessages -aTo compile translations :
$ django-admin compilemessagesTo clear sessions :
$ python manage.py clearsessionsTo update style files :
$ sass --watch .\scss\global.scss:.\css\global.min.css .\scss\print.scss:.\css\print.min.css --style compressedCustom commands :
- Remove useless data :
$ python manage.py uselessdata