48 lines
547 B
Markdown
48 lines
547 B
Markdown
# RlRepo
|
|
|
|
## Usage
|
|
To run.
|
|
```sh
|
|
elixir --sname foo -S mix run --no-halt
|
|
```
|
|
|
|
To run an observer.
|
|
```sh
|
|
erl -setcookie MyCookie -run observer
|
|
```
|
|
|
|
## API Usage
|
|
/<repo_name>/<?sub_repo_name>/<pkg_name>/download
|
|
|
|
### Repo management
|
|
/repo/<action>
|
|
|
|
#### Repo Creation
|
|
/repo/create
|
|
|
|
|
|
#### Repo deletion
|
|
/repo/delete
|
|
|
|
### Sub-repo management
|
|
/<repo_name>/create
|
|
/<repo_name>/delete
|
|
|
|
|
|
### Package management
|
|
/<repo_name>/<action>
|
|
|
|
#### Create
|
|
/<repo_name>/create
|
|
|
|
#### Delete
|
|
/<repo_name>/delete
|
|
|
|
|
|
|
|
### Package Info
|
|
/<repo_name>/<pkg_name>/<action>
|
|
|
|
|
|
|