Skip to content

molupini/gister

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gist...er

Powered by Python and Docker.

  • Edit Environment Variables
  • Deploy with docker-compose

Features

You can:

  • See User Public Gist(s)
  • Console Out New Gist
  • Saved to File for Persistance

Install

Open your favorite Terminal and run these commands.

First, if necessary:

$ mkdir ./gist 

Second:

$ git gist

Third:

$ git clone git@github.com:molupini/gister.git

Forth:

$ mkdir ./.env

Fifth: Before we begin, required environment variables:

$ vi ./.env/app.env
AUTH_TOKEN=null
USERNAME=BretFisher
FOLLOW=true
RATE=120

Deploy & Execute

Easily 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 up

Verify 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:prod

Kubernetes + Google Cloud

See [KUBERNETES.md] coming soon.

License

MIT

Author

Want to contribute? Great! See repo git-repo-url from Maurizio Lupini -Author, Working at ...

About

Fetch public user gist and compare

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors