Giter VIP home page Giter VIP logo

deliver-on's Introduction

Deliver On

A small Shopify app that lets merchants add a "Deliver On" date selector to their cart page or post-checkout page.

Build instructions

Deliver On requires Docker, which ensures it will always build and function exactly the same no matter where it's deployed or developed.

# Deliver On uses CouchDB for its database and expects it to be available at 'http://couchdb:5984'
docker pull couchdb
docker run --name couchdb -d -p 5984:5984 couchdb

# Build the Deliver On container, specifying --build-arg env=development when running on a dev machine
docker build --build-arg env=development -t deliver-on

# Start and run the Deliver On container, linking your localhost:8080 port to the container's localhost:443 port, 
# and linking the already linking couchdb container. You also need to specify certain environment variables for the 
# container, either through a .env file or by passing them one-by-one through the command line with -e key=value
docker run --env-file deliveron.private.env -d -p 8080:443 --name deliver-on --link couchdb:couchdb deliver-on

# Extra: check the startup logs for the deliver-on container
docker logs deliver-on

# Extra: attach your shell to the deliver-on container, streaming logs to the shell
docker attach deliver-on

# Extra: remote into the deliver-on container to manually interact with it via bash
docker exec -it deliver-on "bash" 

Environment variables

Deliver On expects several environment variables which get passed to it via Docker through either a .env file or by specifying multiple -e key=value switch during the docker run command.

Environment variable documentation is coming soon!

deliver-on's People

Contributors

nozzlegear avatar npmcdn-to-unpkg-bot 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.