From 4a1c564678cd90510aba642205e006b9a52ddad8 Mon Sep 17 00:00:00 2001 From: Daniel Thoren Date: Fri, 10 Jun 2022 16:17:19 +0200 Subject: [PATCH] dth @ dth-ThinkPad-Edge-E540 --- methodology-development.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/methodology-development.md b/methodology-development.md index 834a92c..46c8ffb 100644 --- a/methodology-development.md +++ b/methodology-development.md @@ -6,12 +6,13 @@ * **Setup Environments** * You should be able to run the code and develop without a dedicated server. Get virtualized with [docker-compose](https://docs.docker.com/compose/compose-file/compose-file-v3/). * Deploy using Docker + Docker-Compose. Docker keeps all your application events separate from OS events. - * Add to `.bashrc` on remote server (remove or replace `ENV.`): + * Add to `.bashrc` on remote server (remove or replace `ENV.`): * `alias doco="docker-compose -f docker-compose.ENV.yml"; cd /opt/project/` * **Setup Version Control** * Connect to your repos using [ssh](https://stackoverflow.com/a/65415202/5684214). + * [Get good at git](https://gitexercises.fracz.com/) * Setup git credentials - * `git config --local user.email (initialis)@(client comain)` + * `git config --local user.email (initialis)@(client comain)` * Install and use [pre-commit hooks](https://pre-commit.com/) on your dev machine * Setup [Travis-CI build testing](https://docs.travis-ci.com/user/customizing-the-build/#building-specific-branches) * Add an [`.EditorConfig` file](https://editorconfig.org/) @@ -52,7 +53,7 @@ git clone git checkout # optional if you switched branch on the last step -# switched branch: branch out from +# switched branch: branch out from git checkout git branch git push --set-upstream origin