Powered by Python and Docker.
- Edit Environment Variables
- Deploy with docker-compose
You can:
- See User Public Gist(s)
- Console Out New Gist
- Saved to File for Persistance
Open your favorite Terminal and run these commands.
First, if necessary:
$ mkdir ./gist Second:
$ git gistThird:
$ git clone git@github.com:molupini/gister.gitForth:
$ mkdir ./.envFifth: Before we begin, required environment variables:
$ vi ./.env/app.env
AUTH_TOKEN=null
USERNAME=BretFisher
FOLLOW=true
RATE=120Easily done in a Docker container. Make required changes within Dockerfile + compose files if necessary. When ready, simply use docker-compose to build your environment. This will create the gist, ... services with necessary dependencies.
For dev, docker compose:
$ docker-compose build
$ docker-compose upVerify the deployment monitoring the console
$ {'result': 'BretFisher gist.id found 2a7f882ac5a30c9e7c45'}For prod, build:
$ docker build -f py.Dockerfile -t mauriziolupini/gist:prod .Commit prod, push docker builds:
$ docker push mauriziolupini/gist:prodSee [KUBERNETES.md] coming soon.
MIT
Want to contribute? Great! See repo git-repo-url from Maurizio Lupini -Author, Working at ...