Go to file
2025-04-11 23:11:59 +02:00
bin bug 2025-04-11 23:11:59 +02:00
docker __devenv 2024-12-21 02:40:06 +01:00
script changes 2025-04-11 22:50:34 +02:00
.DS_Store first commit 2024-08-04 21:31:58 +02:00
.gitignore __devenv 2024-12-21 03:43:19 +01:00
.profile.template changes 2025-04-11 22:50:34 +02:00
.systems.example remove ssh from profile 2025-01-04 04:30:13 +01:00
build drun changes 2024-12-21 15:43:08 +01:00
down added docker ps to scripts 2025-01-02 03:02:06 +01:00
info info 2025-01-02 03:26:07 +01:00
init msg 2024-12-21 15:56:24 +01:00
README.md __devenv 2024-12-21 04:09:19 +01:00
stop added docker ps to scripts 2025-01-02 03:02:06 +01:00
up added docker ps to scripts 2025-01-02 03:02:06 +01:00
update __devenv 2024-12-21 02:37:03 +01:00

Stack-Up dev-env

Introduction

This project is the development environment of all stack-up projects. It simplifies handling different docker-enabled applications and their maintenance.

Installation

  • Create a .systems file bases on .systems.example: cp .systems.example .systems
  • Enter all systems in the created file nano .systems
  • run ./init. Init will:
    • update .aliases file, which enables you to switch between your systems easily via goto-<system-identifier>
    • updates .profile to use the updated aliases, enables the dev-env binaries (denv, drun, dcom, ...) and add some utility functions
    • clones all systems defined in .systems
    • calls the bin/script/init script for all cloned systems.
  • Perform init actions on systems
  • ./up to start your containers
    • up will also run all the bin/script/firstRun scripts, if the .firstRun marker is missing

Usage

After the installation was performed successfully and you've sourced your ~/.profile file, you'll have access to the following utilities:

  • denv
    • without a parameter, navigates to the development environment
    • if a parameter is specified, denv will try to execute the passed script in the dev-env base folder
  • drun
    • executes a command on the app container of a system
  • dcom
    • executes a docker compose command.
    • without a parameter, for the system of the current directory
    • with a parameter, for the supplied system-id