commit | d80eef3a5b069415e9bcebff15929e65e049320f | [log] [tgz] |
---|---|---|
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | Tue Mar 14 17:39:13 2023 +0000 |
committer | GitHub <noreply@github.com> | Tue Mar 14 17:39:13 2023 +0000 |
tree | 1c5fe7fd4fb6a8fc4d8f0cb0b124065ac90e3d87 | |
parent | f8f83354c4a1532b6964616573e669d1400addf1 [diff] |
Bump qs from 6.9.4 to 6.9.7 Bumps [qs](https://github.com/ljharb/qs) from 6.9.4 to 6.9.7. - [Release notes](https://github.com/ljharb/qs/releases) - [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md) - [Commits](https://github.com/ljharb/qs/compare/v6.9.4...v6.9.7) --- updated-dependencies: - dependency-name: qs dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Airavat custos portal is available as a python package to install and customise for tenants needs. The forllowing instructions are for setting up a customised portal using all the features available in the airavata custos portal.
pip install airavata-custos-portal
django-admin startproject my_first_custos_app . cd my_first_custos_app django-admin startapp apps cd apps django-admin startapp frontend
# my_first_custos_app/apps/frontend/urls.py from django.contrib import admin from django.urls import path from django.conf.urls import include urlpatterns = [ path('admin/', admin.site.urls), path("api/", include("airavata_custos_portal.apps.api.urls")), path("", include("airavata_custos_portal.apps.frontend.urls")), ]
# my_first_custos_app/apps/frontend/urls.py from django.contrib import admin from django.urls import path from django.conf.urls import include urlpatterns = [ path('admin/', admin.site.urls), path("api/", include("airavata_custos_portal.apps.api.urls")), path("", include("airavata_custos_portal.apps.frontend.urls")), path("custom-ui/", include("my_first_custos_app.my_custom_ui.urls")), ]
The application consists of a Vue.js frontend and a Django based backend. The instructions below are for setting up the local setup for development.
Change the environment variables on .env
yarn install yarn serve
yarn lint
python -m venv venv source venv/bin/activate pip install -r requirements.txt cd airavata_custos_portal/ ./manage.py migrate ./manage.py runserver
And then point to http://localhost:8000
yarn build
python -m pip install --upgrade build python -m build
python -m pip install --upgrade twine python -m twine upload dist/*