Skip to content

Latest commit

 

History

History
63 lines (44 loc) · 1004 Bytes

README.md

File metadata and controls

63 lines (44 loc) · 1004 Bytes

TUTORIA SUPER DADOS COM LUIGI

PRESS START

Limpeza e Padrões

$ make clean
$ make pep8

Instalar Dependências

$ pip install -r requirements.txt
$ pipenv install --dev

Iniciar os Dados do Jogo

$ python loading.py

Executar um nível

$ PYTHONPATH='.' python level/level_1.py

Luigi Scheduler

Montar Imagem

$ docker build -f Dockerfile --no-cache -t luigischeduler .
$ docker run -it --env-file .env luigischeduler /bin/sh
$ docker-compose -f docker-compose.yml build
$ docker-compose -f docker-compose.yml up -d

Executar o Scheduler

$ LUIGI_SCHEDULER_DATABASE_URL=postgres://postgres@localhost:5432/luigi-scheduler \
  LUIGI_CONFIG_PATH=luigi.cfg \
  luigid --port 7777 --background --pidfile pidfile.pid --logdir logs