Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
#!/bin/sh | |
# | |
# Script to initiate a merge from master into | |
# production branch in preparation for a release | |
usage() { | |
echo "options" | |
echo "-f|--force ignore test failures on master" | |
echo "-m merge commit message" | |
exit 1 |
## NOTE: multi-stage builds require docker ce > 17 | |
## NOTE: grep for myapp or my-app here as placeholders | |
FROM python:2.7-slim-stretch as app-base | |
# here install some basics you might want need | |
RUN apt-get update && \ | |
apt-get upgrade --yes && \ | |
apt-get install --yes \ | |
git \ |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
installation on mac osx:
/usr/local/bin/gem install mdpress
path is non-std for me:
alias mdpress=/usr/local/Cellar/ruby/2.1.0/bin/mdpress
create the project, simply: