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

Make run_local.sh usable #150

Merged
merged 1 commit into from
Oct 18, 2023
Merged

Conversation

chrisburr
Copy link
Member

@chrisburr chrisburr commented Oct 18, 2023

This makes it so that when you execute ./run_local.sh you get:

DiracX is running on http://localhost:8000
To interact with DiracX you can:

1. Use the CLI:

    export DIRACX_URL=http://localhost:8000
    tests/make-token-local.py /var/folders/1g/q2y74s696ng0v_cmb9sv7qgr0000gn/T/tmp.CJ4d9L9H/signing-key/rsa256.key

2. Using swagger: http://localhost:8000/api/docs

Using tests/make-token-local.py gives you a token which is valid for a week.

@chaen chaen merged commit 162e37d into DIRACGrid:main Oct 18, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants