The Profile Service is meant to share user information's between other services to improve a recommendations' system.
IMPORTANT!!! Backend working directory is backend
, commends will work only in the catalog.
docker-compose up --build
IMPORTANT!!! After each session clear db volume.
docker-compose down -v
alembic revision -m "<revision name>"
IMPORTANT!!! In prototype phase of project we will modify initial migration to omit merging all changes to one file at the end of the phase.
!!! In that case please drop
and create
a fresh db
on each deployment. !!!
alembic upgrade head
pipenv run black --preview app tests
pipenv run isort .
pipenv run pylint app tests
IMPORTANT!!! UI working directory is ui
, commands will work only in the catalog.
npm i --force
npm start
Build artifacts can be found in ui/dist/apps/ui
.
npm build
npx nx lint --fix
npx nx format:write
EOSC_COMMONS_URL
Base URL to eosc commons Default:
https://s3.cloud.cyfronet.pl/eosc-portal-common/
EOSC_COMMONS_ENV
Environment used to load eosc commons Default:
production
Together withEOSC_COMMONS_URL
two assets are loaded:<EOSC_COMMONS_URL>index.<EOSC_COMMONS_ENV>.min.js
and<EOSC_COMMONS_URL>index.<EOSC_COMMONS_ENV>.min.css
EOSC_EXPLORE_URL
base url to explore - used when constructing links for publications Use when integrating with explore beta instance Default: https://explore.eosc-portal.eu