We dont need the starter concept

This commit is contained in:
David Heinemeier Hansson 2024-05-26 15:42:26 -07:00
parent b1c458254a
commit 8de7650b53
4 changed files with 3 additions and 9 deletions

View File

@ -12,10 +12,6 @@ Ubuntu has a great pair of package managers in apt and snap, but many of the too
Half the battle of getting a great development experience going on Linux lies in the dotfiles that control the configuration. Linux gets great power from how customizable it is, but that also presents a paradox of choice and a tall learning curve. Having good, curated defaults that integrate all the many tools in a coherent feel and look can help more developers acquire a taste for Linux, which they may then later inspire a fully bespoke setup (or not!). Half the battle of getting a great development experience going on Linux lies in the dotfiles that control the configuration. Linux gets great power from how customizable it is, but that also presents a paradox of choice and a tall learning curve. Having good, curated defaults that integrate all the many tools in a coherent feel and look can help more developers acquire a taste for Linux, which they may then later inspire a fully bespoke setup (or not!).
## Starters
Many developers need to work with multiple versions of services like MySQL or Redis. There's a ton of different ways to solve that problem, but one easy one is use Docker, so that's what Omakub does. Instead of installing these services directly on the operating system, we run them as containers that can easily be swapped or run concurrently in different versions.
## The Omakase Spirit ## The Omakase Spirit
Nothing in Omakub provides solutions to problems you couldn't also solve a million other ways. The main benefit is in The Omakase Spirit. The idea that an entire setup experience can benefit from being tailored upfront by someone with strong opinions about what works and looks good together. Nothing in Omakub provides solutions to problems you couldn't also solve a million other ways. The main benefit is in The Omakase Spirit. The idea that an entire setup experience can benefit from being tailored upfront by someone with strong opinions about what works and looks good together.

View File

@ -21,6 +21,3 @@ sudo snap install code --classic
# Installers # Installers
echo -e "\e[32mRUNNING CUSTOM INSTALLERSe[0m" echo -e "\e[32mRUNNING CUSTOM INSTALLERSe[0m"
for script in ~/.omakub/install/*.sh; do source $script; done for script in ~/.omakub/install/*.sh; do source $script; done
# Start services
for script in ~/.omakub/start/*.sh; do source $script; done

View File

@ -6,3 +6,6 @@ DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
mkdir -p $DOCKER_CONFIG/cli-plugins mkdir -p $DOCKER_CONFIG/cli-plugins
curl -SL https://github.com/docker/compose/releases/download/v$DOCKER_COMPOSE_VERSION/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose curl -SL https://github.com/docker/compose/releases/download/v$DOCKER_COMPOSE_VERSION/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose
chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose
sudo docker create -d --restart unless-stopped -p 3306:3306 --name=mysql8 -e MYSQL_ROOT_PASSWORD= -e MYSQL_ALLOW_EMPTY_PASSWORD=true mysql:8
sudo docker create -d --restart unless-stopped -p 6379:6379 --name=redis redis

View File

@ -1,2 +0,0 @@
docker create -d --restart unless-stopped -p 3306:3306 --name=mysql8 -e MYSQL_ROOT_PASSWORD= -e MYSQL_ALLOW_EMPTY_PASSWORD=true mysql:8
docker create -d --restart unless-stopped -p 6379:6379 --name=redis redis