Code Monkey home page Code Monkey logo

campaign-monitoring's Introduction

campaign-monitor-proxy

A simple web app that serves as a basic HTTP proxy for createsend's API

Requirements

The only requirements to start the app are django and createsend HTTP client

Running the app

The app comes with its own docker image, which eases deployment and testing. In order to test it locally, simply run:

docker pull cpollalis/campaign-monitoring
docker run --rm -p 8000:8000 -e API_KEY=YOUR_API_KEY -it campaign-monitoring

This will start the docker container and make the app available at port 8000. The API key used to authentication to createsend's API can be provided to the django app as an environmental variable.

Looking at your mailing lists

In order to have a look at your campaign information visit http://localhost:8000/CLIENTID. Your ClientID can be obtained from campaignmonitoring.com.

Developing the app

If you wish to modify the app's source code, while running/testing it, you will a clone of the git repository. After you have cloned the repo, run:

docker run --rm -p 8000:8000 -v `pwd`:/campaign -e API_KEY=YOUR_API_KEY -it campaign-monitoring sh

This will drop you in a shell inside the container and mount your local code. At this point, you may start django's development server.

See ./manage.py runserver -h for more.

campaign-monitoring's People

Contributors

pchristos avatar

Watchers

 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.