Giter VIP home page Giter VIP logo

vendure-demo's Introduction

Vendure Demo

This is a demo project used as the basis for the online Vendure demo. The src/index.ts script populates the server using the Vendure CLI populate command, and then caches the generated pristine data. Every day, this cached data is restored to reset any changes which have been made to the server instance in that time.

Storefront

The storefront is fetched from an Amazon S3 bucket which contains build artifacts from the vendure-storefront project. The version of the storefront app can be set in the following line in the dockerfile:

RUN ["./install-storefront.sh", "vX.Y.Z"]

This version should match one of the storefront release tags

Running Locally

To run locally, install dependencies with yarn and then run the script with yarn start.

Running in Docker

There is a bundled Dockerfile which allows the app to be run in a Docker container.

docker build -t vendure-demo .
docker run --name vendure -p 3000:3000 -d vendure-demo

Deploying

The demo is being deployed to a Digital Ocean server running Dokku at https://demo.vendure.io.

See Host your Node app on Dokku & DigitalOcean for a guide to how this was set up.

To deploy changes after commit use this command:

git push dokku master

vendure-demo's People

Contributors

michaelbromley avatar geda0 avatar dependabot[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.