Last active
October 1, 2020 19:31
-
-
Save btel/5e61adf4470591fc2d2829b4f21aee80 to your computer and use it in GitHub Desktop.
quetz-segfault-steps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# get package files from git | |
git clone https://github.com/mamba-org/quetz.git | |
cd quetz | |
# start quetz without reload | |
quetz run test_quetz_test12 --dev --copy-conf dev_config.toml | |
export QUETZ_API_KEY=... | |
curl -X POST "http://localhost:8000/api/channels" \ | |
-H "accept: application/json" \ | |
-H "Content-Type: application/json" \ | |
-H "X-API-Key: ${QUETZ_API_KEY}" \ | |
-d '{"name":"channel12", "private":false }' | |
quetz-client http://localhost:8000/api/channels/channel12 quetz/tests/data/test-package-0.1-0.tar.bz2 | |
quetz-client http://localhost:8000/api/channels/channel12 quetz/tests/data/test-package-0.2-0.tar.bz2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment