Giter Site home page Giter Site logo

varnish-migrate3to4's Introduction

Varnish-Migrate3to4

A Simple PoC Web App for VCL migration

This is a WIP

To test it:

  • Clone repository

    cd varnish-migrate3to4

  • Run server.py

    $ python server.py

  • Open browser to view page

    http://0.0.0.0:5001/

  • Upload a vcl file

  • Click on Convert

  • Converted file is stored with extension .v4

  • Converted folder to tarball with tar

TARGET

To directly convert uploaded file to v4 and convert to tarball then display tarball for download.

There is also a deloldfiles.py script, that deletes files in folder 'files' every 60seconds. It can be added as a cron job.

Further enhancement:

When the button is clicked, it should serve the tarball and not save anything.

Requirements

  • Flask

    $ pip install Flask

  • Tar

    $ apt-get install tar

Resources

File uploader Cloned from simple-file-service A simple file uploader and downloader service in python flask. https://github.com/ihopeit/simple-file-service

visit http://localhost:5001 to upload files, you can visit uploaded files on the same page.

Varnish Migrator from varnish3to4 https://github.com/fgsch/varnish3to4

varnish-migrate3to4's People

Contributors

staiyeba avatar huayra avatar

Watchers

 avatar James Cloos avatar

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.