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 8000Each 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| version: '2' | |
| services: | |
| postgres: | |
| image: postgres:9.5 | |
| restart: always | |
| environment: | |
| - "POSTGRES_USER=${POSTGRES_USER}" | |
| - "POSTGRES_PASSWORD=${POSTGRES_PASSWORD}" | |
| - "POSTGRES_DB=gogs" | |
| volumes: |
| cmds = [ | |
| 'cd %s' % base_dir, | |
| 'source env/bin/activate', | |
| 'pip install %s' % package, | |
| ] | |
| run(' && '.join(cmds)) |