mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 02:11:53 +00:00
add further context for building the registry and setting up the embassy-publish tool
This commit is contained in:
@@ -16,12 +16,18 @@ This codebase is the reference implementation of the marketplace protocol. These
|
||||
|
||||
- `apt install libpq-dev` (on macOS - `brew install libpq`)
|
||||
- run `apt install postgresql` (on macOS - `brew install postgres`)
|
||||
- clone and cd into the registry
|
||||
```
|
||||
git clone git@github.com:Start9Labs/registry.git
|
||||
cd registry
|
||||
```
|
||||
- run `make`
|
||||
|
||||
### Set up embassy-publish tool
|
||||
|
||||
- run `apt install libgmp-dev zlib1g-dev libtinfo-dev` (on macOS `brew install libmpd zlib-ng libtiff`)
|
||||
- run `stack install` (recommended: include the installation path in your $PATH after running this command)
|
||||
- update your shell to include the installation path of the copied executables from `stack install`. i.e. `nano ~./zshrc` add `export PATH=$PATH:/your/path/here` to zshrc; save and exit nano. Run `source ~/.zshrc`
|
||||
- run `embassy-publish init --bash` (or --zsh / --fish depending on your preferred shell)
|
||||
- run `embassy-publish reg add -l <URL> -n <NAME> -u <USER> -p <PASS>` (include https:// in your URL)
|
||||
- take the hash that is emitted by this command and submit it to the registry owner
|
||||
|
||||
Reference in New Issue
Block a user