Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 0 additions & 39 deletions .github/workflows/build-docker-image.yml

This file was deleted.

1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.atlassian-products/
.elastic-products/
.idea/
.vim/
.localstack/
Expand Down
18 changes: 0 additions & 18 deletions Dockerfile

This file was deleted.

126 changes: 6 additions & 120 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
# devbox

## Playground

Try it before you buy it

```bash
# comes with node 22.12.0
docker run -it --entrypoint=/bin/bash viqueen/devbox:main

# mount it
docker run --name <name_it> --volume <target_dir>:/sources/<target_dir> \
-it --entrypoint=/bin/bash \
-w=/sources/<target_dir> \
viqueen/devbox:main
```

## Setup and Configure

> :warning: this is heavily tailored towards bash, so may not work out of the (dev)box
Expand All @@ -40,93 +25,22 @@ git config --global core.editor vim
git submodule update --init --recursive
```

> :warning: install node dependencies
> :warning: install dependencies

```bash
nvm install
npm ci
mise install
pnpm install
```

## Optional - macOs dev setup

<details>
<summary>init_mac</summary>
<p>
Install [mise](https://mise.jdx.dev/) for managing tool versions (node, java, python, etc.):

```bash
# home_brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

# terminal wisdom
brew install cowsay
brew install fortune
echo "fortune | cowsay" >> ~/.profile
brew install mise
mise install
```

</p>
</details>

<details>
<summary>init_dev_tools</summary>
<p>

```bash

ln -sfvn ~/.bashrc ~/.profile
ln -sfvn ~/.bashrc ~/.bash_profile

# sdkman
curl -s "https://get.sdkman.io" | bash

sdk list java
sdk install java <>

# jenv (requires Java to be installed)
brew install jenv
echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(jenv init -)"' >> ~/.bashrc

# maven
brew install mvnvm
mvn --version

# node
brew install nvm
nvm install node

# ruby
brew install rbenv
echo 'eval "$(rbenv init -)"' >> ~/.bashrc

# other build tools
brew install ant
brew install gradle
brew install sbt

brew tap bazelbuild/tap
brew tap-pin bazelbuild/tap
brew install bazel


# aws
brew install awscli
```

</p>
</details>

<details>
<summary>init_languages and init_sdks</summary>
<p>

```bash
brew install scala
brew install kotlin
```

</p>
</details>

## Scripts and Binaries

### tricks up this sleeve : from anywhere
Expand Down Expand Up @@ -205,31 +119,3 @@ brew install atlassian-devbox
```bash
npm install -g atlassian-devbox
```

### Elastic scripts

It comes with the following enterprise product scripts that behave exactly the same

```bash
search -h
entsearch -h
kibana -h
logstash -h
filebeat -h
```

While I sort out a smooth easy to start elastic stack locally with one script, I navigate to the elastic products
I want by running the following

```bash
. search get 7.5.0
. entsearch get 7.5.0
. kibana get 7.5.0
. logstash get 7.5.0
. filebeat get 7.5.0
```

The above commands also take care of downloading the artifacts

> :warning: please notice the `_distro() { echo "darwin-x86_64" }` in `elastic-product.sh`, you
> probably want to adjust that to whatever distro you need for your platform.
40 changes: 0 additions & 40 deletions cli/bin/elastic

This file was deleted.

47 changes: 0 additions & 47 deletions cli/bin/elastic-product.sh

This file was deleted.

30 changes: 0 additions & 30 deletions cli/bin/entsearch

This file was deleted.

28 changes: 0 additions & 28 deletions cli/bin/filebeat

This file was deleted.

11 changes: 0 additions & 11 deletions cli/bin/jim

This file was deleted.

Loading
Loading