镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Function(s) and scripts to discover and retrieve existing Packages existing in the AP server(s). The input is always a PURL or list of PURLs. #51

Closed

Description

@keshav-space
No description provided.

Activity

  1. self-assigned this
    on Dec 12, 2024
  2. moved this from In Progress to In Review in 02-FederatedCode - Software metadataon Dec 12, 2024
  3. keshav-space commented on Dec 17, 2024

    @keshav-space
    MemberAuthor

    Completed in: #52

    The simple way to test this is to follow the below steps after installing FederatedCode (https://github.com/aboutcode-org/federatedcode?tab=readme-ov-file#quick-installation):

    1. Create superuser python manage.py createsuperuser
    2. Login to federatedcode admin panel http://127.0.0.1:8000/admin/
    3. Go to http://127.0.0.1:8000/admin/fedcode/service/add/ and create service slect newly created superuser as user, and leave remote-actor empty.
    4. Go to go to http://127.0.0.1:8000/create-repo and add https://github.com/aboutcode-org/aboutcode-packages-npm-385
    5. Run python3 manage.py sync sync_scancode_scans to sync scan
    6. Install federatedcode client using pip install aboutcode.federatedcode
    7. Run federatedcode discover pkg:npm/atlasboard to discover pkg:npm/atlasboard

    Tip

    For external FederatedCode server set the FEDERATEDCODE_AP_HOST to external host in .env file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions