-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from 030/21-docs
docs: [#21] Describe how to configure and start YAAM.
- Loading branch information
Showing
18 changed files
with
196 additions
and
60 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Config | ||
|
||
```bash | ||
mkdir -p ~/.yaam/conf | ||
chown 9999 -R ~/.yaam/ | ||
``` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# generic | ||
|
||
## Configuration | ||
|
||
~/.yaam/conf/repositories/generic.yaml | ||
|
||
```bash | ||
--- | ||
allowedRepos: | ||
- something | ||
``` |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# NPM | ||
|
||
~/.yaam/conf/caches.yaml | ||
|
||
```bash | ||
--- | ||
mavenReposAndUrls: | ||
3rdparty-npm: https://registry.npmjs.org/ | ||
``` | ||
|
||
~/.yaam/conf/repositories/npm.yaml | ||
|
||
```bash | ||
--- | ||
allowedRepos: | ||
- npm-releases | ||
``` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Gradle | ||
# Maven | ||
|
||
## Cache artifacts | ||
## Gradle | ||
|
||
```bash | ||
./gradlew clean build | ||
``` | ||
``` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# NPM | ||
|
||
Create a `.npmrc` file in the directory of a particular NPM project: | ||
|
||
```bash | ||
registry=http://localhost:25213/npm/3rdparty-npm/ | ||
always-auth=true | ||
_auth=aGVsbG86d29ybGQ= | ||
cache=/tmp/some-yaam-repo/npm/cache20220914120431999 | ||
``` | ||
|
||
Note: the `_auth` key should be populated with the output of: | ||
`echo -n 'someuser:somepass' | openssl base64`. | ||
|
||
```bash | ||
npm i | ||
``` |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Maven | ||
|
||
## Gradle | ||
|
||
```bash | ||
./gradle publish | ||
``` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Binary | ||
|
||
## Start | ||
|
||
```bash | ||
YAAM_DEBUG=true YAAM_HOME=/tmp/some-yaam-repo YAAM_USER=hello YAAM_PASS=world ./yaam | ||
``` |
This file contains 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
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Maven | ||
|
||
## Gradle | ||
|
||
Adjust the repositories sections in the build.gradle and settings.gradle: | ||
|
||
```bash | ||
repositories { | ||
maven { | ||
allowInsecureProtocol true | ||
url 'http://localhost:25213/maven/groups/hello/' | ||
authentication { | ||
basic(BasicAuthentication) | ||
} | ||
credentials { | ||
username "hello" | ||
password "world" | ||
} | ||
} | ||
} | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.