Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Due to inactivity, this project is scheduled to be deleted on 2035-04-30.
Why is this scheduled?
Open sidebar
Projets-INFO4
19-20
20
docs
Commits
cc061e9b
Commit
cc061e9b
authored
Apr 30, 2020
by
Romain Pasdeloup
Browse files
Manual for Demo
parent
dab9aabf
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
cc061e9b
...
...
@@ -75,6 +75,4 @@
## Semaine 14 (27 avr.)
*
Finition du rapport. Fin du projet
## Semaine 14 (27 avr.)
\ No newline at end of file
*
Manuel pour la demo disponible dans le répertoire Demo
Demo/DemoV1.md
0 → 100644
View file @
cc061e9b
# Demo first release
1.
clone the repository nixpkgs_swh
2.
switch to branch fetchswh_test
3.
Be assured that the package is already cooked (you can check it on software heritage website) or with the following GET command:
`curl -X GET "https://archive.softwareheritage.org/api/1/vault/directory/977fc4b98c0e85816348cebd3b12026407c368b6/"`
4.
If not cooked, cook it via software heritage website or with the following POST command:
`curl -X POST "https://archive.softwareheritage.org/api/1/vault/directory/977fc4b98c0e85816348cebd3b12026407c368b6/"`
5.
Once it is cooked, execute the following commands wherever you want
6.
```bash
export NIXPKGS=/path/to/nixpkgs_swh/
nix-build $NIXPKGS -A hello-swh --show-trace
```
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment