Setting up CPKG
With Docker
docker-compose.yml:
services:
pkg:
image: git.tesses.org/tesses50/cpkg:latest
ports:
- "4206:4206"
volumes:
- data:/data
volumes:
data:
docker compose up -d
Without Docker
crosslang vm CPKG.crvm /path/to/where/cpkg/will/lie
Setup for the first time
Launch your browser and go to CPKG (this link works if running locally on your machine)
- Click Login
- Click Sign Up
- Fill out the form with your info
- Click Sign Up
- Click Login again and login this time
Uploading packages
There are a few ways of doing this
Uploading packages via API key
This is useful in CI/CD pipelines
- Click your Display Name
- Click
Sessions - Click
Create API Key - Type in a name for the key
- Click
Create - Copy the API key
crosslang upload-package --host=https://YourCPKGHost/ --token=YourAPIKey # you can optionally place a crvm file afterwards if you aren't in the folder of project
Adding custom CPKG for CrossLang
crosslang cpkg add https://YourCPKGHost/