Skip to content

decentralised-dataexchange/data-space-backend

Repository files navigation

Dataspace Portal Backend

AboutLicensing

About

This repository hosts the source code for Dataspace Portal Backend

Installation

Requirements:

  • python 3.8.1.2

Steps to run

Pre-requisite:

  1. Docker is installed in the local system
  2. Setup up SSH in github

Steps:

  1. Clone this repo
$ git clone https://github.com/decentralised-dataexchange/data-space-backend
  1. Change the current direcotry to dataspace-backend
cd data-space-backend
  1. To get an overview of different commands available in the current project run
make

The following commands are currently supported

------------------------------------------------------------------------
Dataspace Backend
------------------------------------------------------------------------
bootstrap                      Boostraps development environment
build                          Builds the docker image
build/docker/deployable        Builds deployable docker image for preview, staging and production
deploy/production              Deploy to K8s cluster (e.g. make deploy/{preview,staging,production})
deploy/staging                 Deploy to K8s cluster (e.g. make deploy/{preview,staging,staging})
docs/bundle                    Bundle OpenAPI documentation
docs/run                       Run OpenAPI documentation
publish                        Publish latest production Docker image to docker hub
run                            Run backend locally for development purposes
setup                          Sets up development environment
  1. Build the project
make build
  1. Finally to run the server (http://localhost:8000) locally,
make run

Django admin dashboard is accessible at http://localhost:8000/admin/ endpoint. Super user credentials are as given below:

email: admin@example.com
password: admin

Contributing

Feel free to improve the plugin and send us a pull request. If you find any problems, please create an issue in this repo.

Licensing

Copyright (c) 2023-25 LCubed AB (iGrant.io), Sweden

Licensed under the Apache 2.0 License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the LICENSE for the specific language governing permissions and limitations under the License.

About

Hosts the source code for Dataspace backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages