https://github.com/jfrog/trainings
https://github.com/jfrog/trainings
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jfrog/trainings
- Owner: jfrog
- License: apache-2.0
- Created: 2024-02-22T10:15:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-06T14:48:19.000Z (10 months ago)
- Last Synced: 2025-08-06T16:39:39.482Z (10 months ago)
- Language: Java
- Size: 7.42 MB
- Stars: 1
- Watchers: 6
- Forks: 11
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Support: SupportBundle/practiceSupportBundle.zip
Awesome Lists containing this project
README
# JFrog Training Labs
## Common Prerequisites
There are certain prerequisites which are common to most (or all) of the demos and labs:
### Xray
Ensure that Xray is enabled and working ("Xray" -> "Settings" -> "Advanced"/"Settings" -> "Xray Enabled").
### Environment Variables
> make sure [Enable Token Generation via API](https://jfrog.com/help/r/jfrog-platform-administration-documentation/hide-basic-authentication) is enabled
Generate an identity token by editing & running the following command in a command-line window :
```bash
# SAAS_DNS example : yann.jfrog.io
# SAAS_DNS variable will be used for pushing docker images
export JFROG_SAAS_DNS=""
export JFROG_SAAS_URL="https://$JFROG_SAAS_DNS"
curl -u ':' -XPOST "$JFROG_SAAS_URL/access/api/v1/tokens" -d "scope=applied-permissions/user"
# Export the access token in an environment variable for convenience.
# Also, this environment variable is automatically used by the JFrog Terraform provider.
export JFROG_ACCESS_TOKEN=
jf c add jfrog-saas --interactive=false --url=$JFROG_SAAS_URL --access-token=$JFROG_ACCESS_TOKEN
jf c use jfrog-saas
jf rt ping
```
### OPTIONAL - IDE
1. Install Visual Studio Code.
2. Install the JFrog Extension.
3. Configure the JFrog Extension by having it connect to your JFrog environment.
1. If you properly installed the CLI already, then your CLI profile should be automatically detected by the IDE extension
and you will be prompted accordingly.