Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
Tracked by #14
keshav-space opened this issue Dec 12, 2024 · 1 comment · Fixed by #52
Assignees

Comments

@keshav-space
Copy link
Member

No description provided.

@keshav-space
Copy link
Member Author

keshav-space commented Dec 17, 2024

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
Labels
None yet
Projects
Status: Validated
Development

Successfully merging a pull request may close this issue.

1 participant