We are strongly advice you to use pycharm during development process.
Create a file imcslms/settings.py with content:
from imcslms.default_settings import *
You may want to define following variables as well
CATS_URL = '<cats-url>'
CATS_LOGIN = '<your-cats-account>'
CATS_PASSWD = '<your-cats-password>'Create database inside the composition.
Launch the database container:
docker compose up databasePostgres should create default database during the initial launch
with use .docker/conf/common.env variables.
In case if it's not created automatically for some reason then read logs and create it manually using any approach that's suits for you (pgAdmin, pycharm, terminal).
When it's done you should apply migrations
docker compose run backend python manage.py migratedocker compose run backend python manage.py createsuperuserYou are ready to launch composition
docker compose upDon't forget to add superuser to 'teacher' group in admin-panel.
You can run tests with
docker compose exec backend python manage.py testInstall Node.js & install frontend dependencies via command
npm installNow you should be able to run frontend application
npm run serve