Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/BruceDone/Tiktok
Python web visualize build on the awesome web framework sanic
https://github.com/BruceDone/Tiktok
cron cron-jobs cronjob docker docker-compose python python3 scheduler visualization web
Last synced: 6 days ago
JSON representation
Python web visualize build on the awesome web framework sanic
- Host: GitHub
- URL: https://github.com/BruceDone/Tiktok
- Owner: BruceDone
- License: wtfpl
- Created: 2017-05-14T13:25:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-12T03:57:50.000Z (over 7 years ago)
- Last Synced: 2024-08-01T13:18:55.740Z (3 months ago)
- Topics: cron, cron-jobs, cronjob, docker, docker-compose, python, python3, scheduler, visualization, web
- Language: CSS
- Size: 1.67 MB
- Stars: 61
- Watchers: 6
- Forks: 29
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Tiktok
Python web visualize build on the awesome web framework sanic ,it's inspired by the project of [dagobah](https://github.com/thieman/dagobah)## Why use sanic
While i using the dagobah ,which is based on the web framework of flask,and python version should be 2.x , after the app run a long time,the whole web page will broken and i have no choice except for restart it , after the deep research ,i do not have the reason why .so i just decide to use the sanic to replace the flask to see if it will fix this bug.## How to use
* environment
* python:3.5.x
* mongodb:3.2.x
* docker-compose >= 1.11.2
* run with local
* `pip install git+https://github.com/BruceDone/py-dag.git`
* please start the mongo instance
* please edit the `src\config.yml ` MongoBackend section, update the host,port
* install the package `pip install -r requirements.txt`
* `python run_app.py`
* open the 'http://0.0.0.0:9000' in your browser
* run with docker
* please install the docker ,and docker-compose
* run `docker-compose build` in your shell
* run `docker-compose up -d` in your shell
* open the 'http://0.0.0.0:9000' in your browser## Feature
* Manage multiple jobs scheduled with Cron syntax. Run times are shown in your local timezone.
* Tasks can be anything you'd normally run at a shell prompt. Pipe and redirect your heart out.
* Failed tasks don't break your entire job. Once you fix the task, the job picks up from where it left off.
* On completion and failure, Tiktok sends you an email summary of the executed job (just set it up in the config file).
* Tasks can even be [run on remote machines](https://github.com/thieman/dagobah/wiki/Adding-and-using-remote-hosts-in-Dagobah) (using your SSH config)
## ToDo
- [ ] Login
- [ ] Send Email
- [ ] Import and export job
- [ ] Remote task