Git Product home page Git Product logo

devbox's Introduction

devbox

Playground - try it before you buy it

  • ubuntu
# comes with openjdk 8
docker run -it --entrypoint=/bin/bash viqueen/teknlogi:8-slim
# comes with openjdk 11
docker run -it --entrypoint=/bin/bash viqueen/teknologi:11.0.6-slim
# comes with openjdk 14
docker run -it --entrypoint=/bin/bash viqueen/teknologi:14-slim

Setup and Configure

git clone --recursive https://github.com/viqueen/devbox.git

# required
./setup.sh config_box
npm install .
npm link

# optional, to setup the prompt line
./setup.sh config_prompt

# optional, to setup vim
./setup.sh config_vim
git config --global core.editor vim

Optional - macOs dev setup

init_mac

# 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" >> ~/.bash_profile

init_dev_tools

Requirements
# java
brew install jenv
echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(jenv init -)"' >> ~/.bash_profile

# maven
brew install mvnvm
mvn --version

# node (TODO: provide through brew)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.1/install.sh | bash
nvm install node

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

# 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

init_languages and init_sdks

# atlassian
brew tap atlassian/tap
brew install atlassian/tap/atlassian-plugin-sdk
echo "export ATLAS_MVN=$(which mvn)" >> ~/.profile
brew install scala
brew install kotlin

Scripts and Binaries

generic stuff

dev -h          # mainframe
mvnup -h        # maven version upgrade
jsonf           # json pretty format
image -h        # docker things
saymyname       # finds the longest java class name in a directory , I was bored once so I wrote this

atlassian stuff

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

atlas -h        # mainframe
# running and debugging atlassian server instances
confluence -h
jira -h
bitbucket -h
bamboo -h

Each of them comes the following functions start [version] debug [version] logs [version] versions

so in the case of confluence, I usually investigate bugs by launching the version they were reported on

  • start the instance confluence start 6.15.4
  • monitor the logs confluence logs 6.15.4
  • list the version I have already installed confluence versions

but where are all those instances stored ?

fun fact, you can use the following command to navigate to where devbox is installed

. dev

and then you will find your standalone instances available under

devbox/.atlassian-products/

confluence devbox

These are the basics, but I trust you can poke around the repo to find out how to tune the options so the scripts are interacting correctly with the confluence instance you are running (in terms of port, context path, user creds)

This whole repo is designed for simplicity and ease of use, so I do not want to overload it with tons of configurations

For questions find me on https://gitter.im/viqueen/devbox

# build it
cd confluence-devbox
atlas build
# update the following to match your context path and port
atlas pi confluence 8080 


# setup an smtp server
confdev post setup smtp-server
# create multiple users
confdev post setup users

devbox's People

Contributors

viqueen avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.