Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kgyrtkirk committed Mar 3, 2022
1 parent e808787 commit be6bede
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
21 changes: 5 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,30 +102,19 @@ Every container will be reaching out to almost the same artifacts; so employing
./start_artifactory.bash
```

You will have to manually configure this instance (once)
To configure this instance the start_artifactory command will show a few commands you will need to execute to set it up - once its running.

It will be available at http://127.0.0.1:8081/
use admin/password to login
After that you will be able to acccess artifactory at http://127.0.0.1:8081/ by using admin/admin to login.

* make sure to have anonymous acces enabled:
** left menu bar; Admin menu; Security / Security configuration > allow anonymous access is enabled
* add some remote repositories
** left menu bar: Admin menu: Repositories / Remote
*** add maven central / etc
*** or some caching mirror repository if you know one
* add the wonder virtual repository
** left menu bar: Admin menu: Repositories / Virtual
*** make sure to use the name "wonder" for it
*** add remote repos to it

This instance will be linked to the running development environment automatically
This instance will be linked to the running development environment(s) automatically

### set properties (once)(optional)

add an export to your .bashrc or similar; like:

```shell
export HIVE_DEV_BOX_HOST_DIR=$HOME/hive-dev-box
# to have a shared folder between all the dev containers and also the host system:
export HIVE_DEV_BOX_HOST_DIR=$HOME/hdb
```

The dev environment will assume that you are working on upstream patches; and will always open a new branch forked from master
Expand Down
10 changes: 10 additions & 0 deletions bin/dev_eclipse
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

cd

function safe_sw() {
if [ -e "/active/$1" ];then
echo " * $1 is already present"
else
/bin/sw "$@"
fi
}

safe_sw eclipse

name="`hostname`"

WS=ws_$name
Expand Down
1 change: 1 addition & 0 deletions start_artifactory.bash
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ docker exec -it artifactory /bin/bash
curl -X POST -u admin:password -H "Content-type: application/json" http://localhost:8081/artifactory/ui/artifactimport/system \
-d '{ "path":"/tmp/backup.zip","excludeContent":false,"excludeMetadata":false,"verbose":false,"zip":true,"action":"system"}'
# after executing the above command you will be able to log into artifactory by using: admin/admin
===
EOF

Expand Down

0 comments on commit be6bede

Please sign in to comment.