Various dockerized developer tools
# install Docker
open https://docs.docker.com/docker-for-mac/install/
bash ./dt start|debug|stop
# - start: spins up composed containers in background and redirects output to dev-server.log
# - debug: spins up composed containers in foreground streams output to terminal
# - stop: spins down composed containers
# - build: builds the requirments base image
# - shell: opens a bash shell in the flask container
# - nginx: opens a bash shell in the nginx container
# NOTE - stop and shell attempt to delete python bytecode files when done but may throw and error on diff systems
The github release process is mostly automated with the help of some npm packages. Use these to automatically bump your sem var version, update the CHANGELOG.md, tag the branch, push to github and create a release using the new tag.
brew install node@latest
npm install -g release-it auto-changelog
- Github token: https://github.com/release-it/release-it#github-releases
- Config file: .release-it.json
- Changelog config file: .auto-changelog
release-it
Make git a little easier to use | Config
This will provide useful git aliases and configuration
git config include.path ../git/config.txt
git config --global user.prefix <# personal branch name prefix - i.e. I use `mocurlz` #>
git ls [-n #]
- outputs abbreviated git log from newest to oldest- optional
-n
followed by number of entries you want to see
- optional
git lg [-n #]
- outputs abbreviated git graph log from oldest to newest- optional
-n
followed by number of entries you want to see
- optional
git bclean [<# branch name #>]
- deletes merged branches relative to the branch provided- optional branch name provided[defaults to
develop
] - Note : you must be on the branch you want to delete merged branches relative to
- optional branch name provided[defaults to
git pr <pr #>
- fetch and checkout a new branch based on the PR # providedgit cob <# new branch name #>
- create and checkout new branch name prefixed with your handlegit pbo <# new branch name #>
- (Push Branch to Origin) shortcut forgit push -u origin < #branch name# >
git bv
- list currently available local branchesgit s
- git statusgit stauts
- git status (I always misspell it this way)git mbc [branch name]
- (Merge Base Current) identify the common commit between current branch and provided branch name (defaults todevelop
)