Coder Social home page Coder Social logo

blog_content_pipeline's Introduction

Blog content auto create, refactoring pipeline

This is a simple pipeline that creates or refactors blog posts and automatically uploads them. You must have a personal blog to use this pipeline. If not, use this project https://github.com/HyoungSooo/Django-Blog The pipelines written here are all based on the projects above.

linked with blog

If you have a personal blog, you need a login, create post api.

If not you can use sample blog project in https://github.com/HyoungSooo/Django-Blog

in that project have create post api, user create api, user login api using JWT

All of the code below is from the above blog project.

If you want to use your personal blog you need to modify the code.

Usage

docker-compose -f docker-compose.yml up

Connect to http://localhost:8888/

upload pipeline.ipynb file to jupyter server

and run the fuctions

Blog project in local

If the environment to deploy the blog is not available, you can take advantage of this pipeline by modifying the docker-compose.yml file.

in docker-compose.yml

...
  web:
      build: 
        context: <your docker file path>
      command: python manage.py runserver 0.0.0.0:8000
      ports:
        - "8000:8000"
      volumes:
        - <django app path>:/usr/share/web

      networks:
        - elk
      depends_on:
        - elasticsearch
...

demo site

https://port-0-djangoblog-1duf6sd2blhjy1sm5.sel4.cloudtype.app/

dashboard

# kibana dashboard
http://localhost:5601/

futuer works

  • combine to Tiwwter, other blog api
  • using cron to automatically run the pipeline

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.